Package org.bouncycastle.mls
Class KeyScheduleEpoch.JoinSecrets
java.lang.Object
org.bouncycastle.mls.KeyScheduleEpoch.JoinSecrets
- Enclosing class:
KeyScheduleEpoch
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJoinSecrets
(MlsCipherSuite suite, Secret joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks) JoinSecrets
(MlsCipherSuite suite, Secret joinerSecret, Secret pskSecret) -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyScheduleEpoch.JoinSecrets
forMember
(MlsCipherSuite suite, Secret initSecret, Secret commitSecret, Secret pskSecret, byte[] context) void
injectPskSecret
(Secret pskSecret) static Secret
pskSecret
(MlsCipherSuite suite, List<KeyScheduleEpoch.PSKWithSecret> psks)
-
Field Details
-
joinerSecret
-
welcomeSecret
-
welcomeKey
-
welcomeNonce
-
-
Constructor Details
-
JoinSecrets
public JoinSecrets(MlsCipherSuite suite, Secret joinerSecret, List<KeyScheduleEpoch.PSKWithSecret> psks) throws IOException - Throws:
IOException
-
JoinSecrets
- Throws:
IOException
-
-
Method Details
-
pskSecret
public static Secret pskSecret(MlsCipherSuite suite, List<KeyScheduleEpoch.PSKWithSecret> psks) throws IOException - Throws:
IOException
-
forMember
public static KeyScheduleEpoch.JoinSecrets forMember(MlsCipherSuite suite, Secret initSecret, Secret commitSecret, Secret pskSecret, byte[] context) throws IOException - Throws:
IOException
-
injectPskSecret
- Throws:
IOException
-
complete
public KeyScheduleEpoch complete(TreeSize treeSize, byte[] context) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-