Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class Welcome

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, .Arrays, .List, org.bouncycastle.crypto.InvalidCipherTextException, org.bouncycastle.mls.KeyGeneration, .KeyScheduleEpoch, org.bouncycastle.mls.crypto.MlsCipherSuite, .Secret

Field Summary

Modifier and TypeField and Description
pack-priv short
pack-priv byte[]
private Secret
private List<PreSharedKeyID>
pack-priv List<EncryptedGroupSecrets>
pack-priv MlsCipherSuite

Constructor Summary

AccessConstructor and Description
public
Welcome(MlsCipherSuite suite, byte[] joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks, byte[] groupInfo)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public GroupInfo
decrypt(byte[] joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks)

public GroupSecrets
decryptSecrets(int kpIndex, byte[] initPrivKey)

public void
encrypt(KeyPackage kp, Secret pathSecret)

public int
private KeyGeneration
public MlsCipherSuite
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cipher_suiteback to summary
pack-priv short cipher_suite
encrypted_group_infoback to summary
pack-priv byte[] encrypted_group_info
joinerSecretback to summary
private Secret joinerSecret
psksback to summary
private List<PreSharedKeyID> psks
secretsback to summary
pack-priv List<EncryptedGroupSecrets> secrets
suiteback to summary
pack-priv MlsCipherSuite suite

Constructor Detail

Welcomeback to summary
public Welcome(MlsCipherSuite suite, byte[] joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks, byte[] groupInfo) throws IOException, InvalidCipherTextException
Welcomeback to summary
pack-priv Welcome(MLSInputStream stream) throws Exception
Annotations
@SuppressWarnings:unused

Method Detail

decryptback to summary
public GroupInfo decrypt(byte[] joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks) throws IOException, InvalidCipherTextException
decryptSecretsback to summary
public GroupSecrets decryptSecrets(int kpIndex, byte[] initPrivKey) throws InvalidCipherTextException, IOException
encryptback to summary
public void encrypt(KeyPackage kp, Secret pathSecret) throws IOException, InvalidCipherTextException
findback to summary
public int find(KeyPackage kp) throws IOException
getGroupInfoKeyNonceback to summary
private KeyGeneration getGroupInfoKeyNonce(byte[] joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks) throws IOException
getSuiteback to summary
public MlsCipherSuite getSuite()
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

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

Annotations
@Override