Class IssuerAndSerialNumber
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class IssuerAndSerialNumber extends ASN1Object
RFC 5652: IssuerAndSerialNumber object.
IssuerAndSerialNumber ::= SEQUENCE { issuer Name, serialNumber CertificateSerialNumber } CertificateSerialNumber ::= INTEGER -- See RFC 5280
-
-
Field Summary
Fields Modifier and Type Field Description public X500Name
name
public ASN1Integer
serialNumber
-
Constructor Summary
Constructors Constructor Description IssuerAndSerialNumber(ASN1Sequence seq)
IssuerAndSerialNumber(Certificate certificate)
IssuerAndSerialNumber(X509CertificateStructure certificate)
IssuerAndSerialNumber(X500Name name, BigInteger serialNumber)
IssuerAndSerialNumber(X509Name name, BigInteger serialNumber)
IssuerAndSerialNumber(X509Name name, ASN1Integer serialNumber)
-
Method Summary
Modifier and Type Method Description X500Name
getName()
ASN1Integer
getSerialNumber()
static IssuerAndSerialNumber
getInstance(Object obj)
Return an IssuerAndSerialNumber object from the given object. ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. -
-
Constructor Detail
-
IssuerAndSerialNumber
IssuerAndSerialNumber(ASN1Sequence seq)
-
IssuerAndSerialNumber
IssuerAndSerialNumber(Certificate certificate)
-
IssuerAndSerialNumber
IssuerAndSerialNumber(X509CertificateStructure certificate)
-
IssuerAndSerialNumber
IssuerAndSerialNumber(X500Name name, BigInteger serialNumber)
-
IssuerAndSerialNumber
IssuerAndSerialNumber(X509Name name, BigInteger serialNumber)
-
IssuerAndSerialNumber
IssuerAndSerialNumber(X509Name name, ASN1Integer serialNumber)
-
-
Method Detail
-
getSerialNumber
ASN1Integer getSerialNumber()
-
getInstance
static IssuerAndSerialNumber getInstance(Object obj)
Return an IssuerAndSerialNumber object from the given object.
Accepted inputs:
- null → null
- IssuerAndSerialNumber object
- ASN1Sequence input formats with IssuerAndSerialNumber structure inside
- Parameters:
obj
- the object we want converted.
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-