org.bouncycastle.asn1.bc
Class LinkedCertificate
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.bc.LinkedCertificate
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class LinkedCertificate
- extends ASN1Object
Extension to tie an alternate certificate to the containing certificate.
LinkedCertificate := SEQUENCE {
digest DigestInfo, -- digest of PQC certificate
certLocation GeneralName, -- location of PQC certificate
certIssuer [0] Name OPTIONAL, -- issuer of PQC cert (if different from current certificate)
cACerts [1] GeneralNames OPTIONAL, -- CA certificates for PQC cert (one of more locations)
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LinkedCertificate
public LinkedCertificate(DigestInfo digest,
GeneralName certLocation)
LinkedCertificate
public LinkedCertificate(DigestInfo digest,
GeneralName certLocation,
X500Name certIssuer,
GeneralNames cACerts)
getInstance
public static LinkedCertificate getInstance(java.lang.Object o)
getDigest
public DigestInfo getDigest()
getCertLocation
public GeneralName getCertLocation()
getCertIssuer
public X500Name getCertIssuer()
getCACerts
public GeneralNames getCACerts()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.