Class SignerIdentifier
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Choice
,io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class SignerIdentifier extends ASN1Object implements ASN1Choice
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
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1Encodable
id
-
Constructor Summary
Constructors Constructor Description SignerIdentifier(IssuerAndSerialNumber id)
SignerIdentifier(ASN1OctetString id)
SignerIdentifier(ASN1Primitive id)
-
Method Summary
Modifier and Type Method Description ASN1Encodable
getId()
static SignerIdentifier
getInstance(Object o)
Return a SignerIdentifier object from the given object. boolean
isTagged()
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
-
Constructor Detail
-
SignerIdentifier
SignerIdentifier(IssuerAndSerialNumber id)
-
SignerIdentifier
SignerIdentifier(ASN1OctetString id)
-
SignerIdentifier
SignerIdentifier(ASN1Primitive id)
-
-
Method Detail
-
getId
ASN1Encodable getId()
-
getInstance
static SignerIdentifier getInstance(Object o)
Return a SignerIdentifier object from the given object.
Accepted inputs:
- null → null
- SignerIdentifier object
- IssuerAndSerialNumber object
- ASN1OctetString input formats with SignerIdentifier structure inside
- ASN1Primitive for SignerIdentifier constructor.
- Parameters:
o
- the object we want converted.
-
isTagged
boolean isTagged()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
-
-
-
-