Top Description Fields Constructors Methods
org.bouncycastle.asn1.bc

public Class LinkedCertificate

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.asn1.x509.DigestInfo, .GeneralName, .GeneralNames

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)
}

Field Summary

Modifier and TypeField and Description
private GeneralNames
private X500Name
private final GeneralName
private final DigestInfo

Constructor Summary

AccessConstructor and Description
public
public
LinkedCertificate(DigestInfo digest, GeneralName certLocation, X500Name certIssuer, GeneralNames cACerts)

private

Method Summary

Modifier and TypeMethod and Description
public GeneralNames
public X500Name
public GeneralName
public DigestInfo
public static LinkedCertificate
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

cACertsback to summary
private GeneralNames cACerts
certIssuerback to summary
private X500Name certIssuer
certLocationback to summary
private final GeneralName certLocation
digestback to summary
private final DigestInfo digest

Constructor Detail

LinkedCertificateback to summary
public LinkedCertificate(DigestInfo digest, GeneralName certLocation)
LinkedCertificateback to summary
public LinkedCertificate(DigestInfo digest, GeneralName certLocation, X500Name certIssuer, GeneralNames cACerts)
LinkedCertificateback to summary
private LinkedCertificate(ASN1Sequence seq)

Method Detail

getCACertsback to summary
public GeneralNames getCACerts()
getCertIssuerback to summary
public X500Name getCertIssuer()
getCertLocationback to summary
public GeneralName getCertLocation()
getDigestback to summary
public DigestInfo getDigest()
getInstanceback to summary
public static LinkedCertificate getInstance(Object o)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.