Class PreSharedKeyID
java.lang.Object
org.bouncycastle.mls.codec.PreSharedKeyID
- All Implemented Interfaces:
MLSInputStream.Readable, MLSOutputStream.Writable
public class PreSharedKeyID
extends Object
implements MLSInputStream.Readable, MLSOutputStream.Writable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PreSharedKeyIDexternal(byte[] externalPSKID, byte[] pskNonce) static PreSharedKeyIDresumption(ResumptionPSKUsage resumptionPSKUsage, byte[] pskGroupID, long pskEpoch, byte[] pskNonce) voidwriteTo(MLSOutputStream stream)
-
Field Details
-
pskType
-
external
-
resumption
-
pskNonce
public final byte[] pskNonce
-
-
Constructor Details
-
PreSharedKeyID
- Throws:
IOException
-
-
Method Details
-
external
-
resumption
public static PreSharedKeyID resumption(ResumptionPSKUsage resumptionPSKUsage, byte[] pskGroupID, long pskEpoch, byte[] pskNonce) -
writeTo
- Specified by:
writeToin interfaceMLSOutputStream.Writable- Throws:
IOException
-
equals
-