Package org.bouncycastle.mls.codec
Class Credential
java.lang.Object
org.bouncycastle.mls.codec.Credential
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
-
Constructor Summary
ConstructorsConstructorDescriptionCredential
(CredentialType credentialType, byte[] identity, List<Certificate> certificates) -
Method Summary
Modifier and TypeMethodDescriptionstatic Credential
forBasic
(byte[] identity) byte[]
void
writeTo
(MLSOutputStream stream)
-
Constructor Details
-
Credential
-
-
Method Details
-
getCredentialType
-
getIdentity
public byte[] getIdentity() -
forBasic
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-