Package org.bouncycastle.mls.codec
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()
boolean
verify()
void
writeTo
(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:
IOException
org.bouncycastle.crypto.CryptoException
-
-
Method Details
-
getLeafNode
-
getInitKey
public byte[] getInitKey() -
getSuite
-
verify
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-