Class KeyPackage
java.lang.Object
org.bouncycastle.mls.codec.KeyPackage
- All Implemented Interfaces:
MLSInputStream.Readable, MLSOutputStream.Writable
-
Constructor Summary
ConstructorsConstructorDescriptionKeyPackage(MlsCipherSuite suite, byte[] init_key, LeafNode leaf_node, List<Extension> extensions, byte[] sigSk) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getSuite()booleanverify()voidwriteTo(MLSOutputStream stream)
-
Constructor Details
-
KeyPackage
public KeyPackage(MlsCipherSuite suite, byte[] init_key, LeafNode leaf_node, List<Extension> extensions, byte[] sigSk) throws IOException, org.bouncycastle.crypto.CryptoException - Throws:
IOExceptionorg.bouncycastle.crypto.CryptoException
-
-
Method Details
-
getLeafNode
-
getInitKey
public byte[] getInitKey() -
getSuite
-
verify
- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceMLSOutputStream.Writable- Throws:
IOException
-