public class RootKey
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Pair<RootKey,ChainKey> |
createChain(ECPublicKey theirRatchetKey,
ECKeyPair ourRatchetKey) |
byte[] |
getKeyBytes() |
public RootKey(HKDF kdf, byte[] key)
public byte[] getKeyBytes()
public Pair<RootKey,ChainKey> createChain(ECPublicKey theirRatchetKey, ECKeyPair ourRatchetKey) throws InvalidKeyException
InvalidKeyException