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 CredentialforBasic(byte[] identity) byte[]voidwriteTo(MLSOutputStream stream)
-
Constructor Details
-
Credential
-
-
Method Details
-
getCredentialType
-
getIdentity
public byte[] getIdentity() -
forBasic
-
writeTo
- Specified by:
writeToin interfaceMLSOutputStream.Writable- Throws:
IOException
-