Class IssuerAndSerialNumber

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class IssuerAndSerialNumber
    extends ASN1Object
    RFC 5652: IssuerAndSerialNumber object.

     IssuerAndSerialNumber ::= SEQUENCE {
         issuer Name,
         serialNumber CertificateSerialNumber
     }
    
     CertificateSerialNumber ::= INTEGER  -- See RFC 5280
     
    • Constructor Detail

      • IssuerAndSerialNumber

        public IssuerAndSerialNumber​(ASN1Sequence seq)
        Deprecated.
        use getInstance() method.
      • IssuerAndSerialNumber

        public IssuerAndSerialNumber​(Certificate certificate)
      • IssuerAndSerialNumber

        public IssuerAndSerialNumber​(X509CertificateStructure certificate)
        Deprecated.
        use constructor taking Certificate
      • IssuerAndSerialNumber

        public IssuerAndSerialNumber​(X500Name name,
                                     java.math.BigInteger serialNumber)
      • IssuerAndSerialNumber

        public IssuerAndSerialNumber​(X509Name name,
                                     java.math.BigInteger serialNumber)
        Deprecated.
        use X500Name constructor
      • IssuerAndSerialNumber

        public IssuerAndSerialNumber​(X509Name name,
                                     ASN1Integer serialNumber)
        Deprecated.
        use X500Name constructor
    • Method Detail

      • getInstance

        public static IssuerAndSerialNumber getInstance​(java.lang.Object obj)
        Return an IssuerAndSerialNumber object from the given object.

        Accepted inputs:

        Parameters:
        obj - the object we want converted.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • getSerialNumber

        public ASN1Integer getSerialNumber()