Package org.bouncycastle.asn1.cms
Class IssuerAndSerialNumber
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.IssuerAndSerialNumber
- All Implemented Interfaces:
ASN1Encodable,Encodable
RFC 5652: IssuerAndSerialNumber object.
IssuerAndSerialNumber ::= SEQUENCE {
issuer Name,
serialNumber CertificateSerialNumber
}
CertificateSerialNumber ::= INTEGER -- See RFC 5280
-
Constructor Summary
ConstructorsConstructorDescriptionIssuerAndSerialNumber(X500Name name, BigInteger serialNumber) IssuerAndSerialNumber(Certificate certificate) -
Method Summary
Modifier and TypeMethodDescriptionstatic IssuerAndSerialNumbergetInstance(Object obj) Return an IssuerAndSerialNumber object from the given object.getName()Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
IssuerAndSerialNumber
-
IssuerAndSerialNumber
-
-
Method Details
-
getInstance
Return an IssuerAndSerialNumber object from the given object.Accepted inputs:
- null → null
-
IssuerAndSerialNumberobject -
ASN1Sequenceinput formats with IssuerAndSerialNumber structure inside
- Parameters:
obj- the object we want converted.- Throws:
IllegalArgumentException- if the object cannot be converted.
-
getName
-
getSerialNumber
-
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-