|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.SignerIdentifier
public class SignerIdentifier
RFC 5652:
Identify who signed the containing SignerInfo object.
The certificates referred to by this are at containing SignedData structure.
SignerIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier
}
SubjectKeyIdentifier ::= OCTET STRING
| Constructor Summary | |
|---|---|
SignerIdentifier(ASN1OctetString id)
|
|
SignerIdentifier(ASN1Primitive id)
|
|
SignerIdentifier(IssuerAndSerialNumber id)
|
|
| Method Summary | |
|---|---|
ASN1Encodable |
getId()
|
static SignerIdentifier |
getInstance(java.lang.Object o)
Return a SignerIdentifier object from the given object. |
boolean |
isTagged()
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
|---|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignerIdentifier(IssuerAndSerialNumber id)
public SignerIdentifier(ASN1OctetString id)
public SignerIdentifier(ASN1Primitive id)
| Method Detail |
|---|
public static SignerIdentifier getInstance(java.lang.Object o)
Accepted inputs:
SignerIdentifier object
IssuerAndSerialNumber object
ASN1OctetString input formats with SignerIdentifier structure inside
ASN1Primitive for SignerIdentifier constructor.
o - the object we want converted.
java.lang.IllegalArgumentException - if the object cannot be converted.public boolean isTagged()
public ASN1Encodable getId()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||