Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class Credential

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, .List

Field Summary

Modifier and TypeField and Description
pack-priv List<Certificate>
pack-priv CredentialType
pack-priv byte[]

Constructor Summary

AccessConstructor and Description
public
Credential(CredentialType credentialType, byte[] identity, List<Certificate> certificates)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public static Credential
forBasic(byte[] identity)

public CredentialType
public byte[]
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

certificatesback to summary
pack-priv List<Certificate> certificates
credentialTypeback to summary
pack-priv CredentialType credentialType
identityback to summary
pack-priv byte[] identity

Constructor Detail

Credentialback to summary
public Credential(CredentialType credentialType, byte[] identity, List<Certificate> certificates)
Credentialback to summary
pack-priv Credential(MLSInputStream stream) throws IOException
Annotations
@SuppressWarnings:unused

Method Detail

forBasicback to summary
public static Credential forBasic(byte[] identity)
getCredentialTypeback to summary
public CredentialType getCredentialType()
getIdentityback to summary
public byte[] getIdentity()
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

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

Annotations
@Override