Class CertifiedKeyPair

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.CertifiedKeyPair
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class CertifiedKeyPair extends org.bouncycastle.asn1.ASN1Object
 CertifiedKeyPair ::= SEQUENCE {
                                  certOrEncCert       CertOrEncCert,
                                  privateKey      [0] EncryptedKey      OPTIONAL,
                                  -- see [CRMF] for comment on encoding
                                  publicationInfo [1] PKIPublicationInfo  OPTIONAL
       }
 
  • Constructor Details

  • Method Details

    • getInstance

      public static CertifiedKeyPair getInstance(Object o)
    • getCertOrEncCert

      public CertOrEncCert getCertOrEncCert()
    • getPrivateKey

      public EncryptedKey getPrivateKey()
    • getPublicationInfo

      public PKIPublicationInfo getPublicationInfo()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Return the primitive representation of PKIPublicationInfo.
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      a basic ASN.1 object representation.