Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class KeyPackage

extends Object
implements Readable, Writable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.mls.codec.MLSOutputStream.Writable, org.bouncycastle.mls.codec.MLSInputStream.Readable
Imports
java.io.IOException, java.util.ArrayList, .List, org.bouncycastle.crypto.CryptoException, org.bouncycastle.mls.TreeKEM.LeafNode, .LeafNodeSource, org.bouncycastle.mls.crypto.MlsCipherSuite

Field Summary

Modifier and TypeField and Description
pack-priv short
pack-priv List<Extension>
pack-priv byte[]
pack-priv LeafNode
pack-priv byte[]
pack-priv MlsCipherSuite
pack-priv ProtocolVersion

Constructor Summary

AccessConstructor and Description
public
KeyPackage(MlsCipherSuite suite, byte[] init_key, LeafNode leaf_node, List<Extension> extensions, byte[] sigSk)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
public LeafNode
public MlsCipherSuite
private byte[]
public boolean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cipher_suiteback to summary
pack-priv short cipher_suite
extensionsback to summary
pack-priv List<Extension> extensions
init_keyback to summary
pack-priv byte[] init_key
leaf_nodeback to summary
pack-priv LeafNode leaf_node
signatureback to summary
pack-priv byte[] signature
suiteback to summary
pack-priv MlsCipherSuite suite
versionback to summary
pack-priv ProtocolVersion version

Constructor Detail

KeyPackageback to summary
public KeyPackage(MlsCipherSuite suite, byte[] init_key, LeafNode leaf_node, List<Extension> extensions, byte[] sigSk) throws IOException, CryptoException
KeyPackageback to summary
pack-priv KeyPackage(MLSInputStream stream) throws Exception
Annotations
@SuppressWarnings:unused

Method Detail

getInitKeyback to summary
public byte[] getInitKey()
getLeafNodeback to summary
public LeafNode getLeafNode()
getSuiteback to summary
public MlsCipherSuite getSuite()
toBeSignedback to summary
private byte[] toBeSigned() throws IOException
verifyback to summary
public boolean verify() throws IOException
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

Implements org.bouncycastle.mls.codec.MLSOutputStream.Writable.writeTo.

Annotations
@Override