Package org.bouncycastle.asn1.x509
Class IssuerSerial
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.IssuerSerial
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class IssuerSerial extends ASN1Object
-
-
Constructor Summary
Constructors Constructor Description IssuerSerial(X500Name issuer, java.math.BigInteger serial)
IssuerSerial(GeneralNames issuer, java.math.BigInteger serial)
IssuerSerial(GeneralNames issuer, ASN1Integer serial)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssuerSerial
getInstance(java.lang.Object obj)
static IssuerSerial
getInstance(ASN1TaggedObject obj, boolean explicit)
GeneralNames
getIssuer()
DERBitString
getIssuerUID()
ASN1Integer
getSerial()
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
IssuerSerial
public IssuerSerial(X500Name issuer, java.math.BigInteger serial)
-
IssuerSerial
public IssuerSerial(GeneralNames issuer, java.math.BigInteger serial)
-
IssuerSerial
public IssuerSerial(GeneralNames issuer, ASN1Integer serial)
-
-
Method Detail
-
getInstance
public static IssuerSerial getInstance(java.lang.Object obj)
-
getInstance
public static IssuerSerial getInstance(ASN1TaggedObject obj, boolean explicit)
-
getIssuer
public GeneralNames getIssuer()
-
getSerial
public ASN1Integer getSerial()
-
getIssuerUID
public DERBitString getIssuerUID()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.IssuerSerial ::= SEQUENCE { issuer GeneralNames, serial CertificateSerialNumber, issuerUID UniqueIdentifier OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-