Package org.bouncycastle.asn1.cmp
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 Summary
ConstructorDescriptionCertifiedKeyPair
(CertOrEncCert certOrEncCert) CertifiedKeyPair
(CertOrEncCert certOrEncCert, EncryptedKey privateKey, PKIPublicationInfo publicationInfo) CertifiedKeyPair
(CertOrEncCert certOrEncCert, EncryptedValue privateKey, PKIPublicationInfo publicationInfo) -
Method Summary
Modifier and TypeMethodDescriptionstatic CertifiedKeyPair
org.bouncycastle.asn1.ASN1Primitive
Return the primitive representation of PKIPublicationInfo.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertifiedKeyPair
-
CertifiedKeyPair
public CertifiedKeyPair(CertOrEncCert certOrEncCert, EncryptedKey privateKey, PKIPublicationInfo publicationInfo) -
CertifiedKeyPair
public CertifiedKeyPair(CertOrEncCert certOrEncCert, EncryptedValue privateKey, PKIPublicationInfo publicationInfo)
-
-
Method Details
-
getInstance
-
getCertOrEncCert
-
getPrivateKey
-
getPublicationInfo
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()Return the primitive representation of PKIPublicationInfo.- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-