org.bouncycastle.asn1.cms

Class SignerIdentifier

public class SignerIdentifier extends ASN1Encodable

Constructor Summary
SignerIdentifier(IssuerAndSerialNumber id)
SignerIdentifier(ASN1OctetString id)
SignerIdentifier(DERObject id)
Method Summary
DEREncodablegetId()
static SignerIdentifiergetInstance(Object o)
return a SignerIdentifier object from the given object.
booleanisTagged()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

SignerIdentifier

public SignerIdentifier(IssuerAndSerialNumber id)

SignerIdentifier

public SignerIdentifier(ASN1OctetString id)

SignerIdentifier

public SignerIdentifier(DERObject id)

Method Detail

getId

public DEREncodable getId()

getInstance

public static SignerIdentifier getInstance(Object o)
return a SignerIdentifier object from the given object.

Parameters: o the object we want converted.

Throws: IllegalArgumentException if the object cannot be converted.

isTagged

public boolean isTagged()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 SignerIdentifier ::= CHOICE {
     issuerAndSerialNumber IssuerAndSerialNumber,
     subjectKeyIdentifier [0] SubjectKeyIdentifier 
 }

 SubjectKeyIdentifier ::= OCTET STRING