Class OldCertIDControl
java.lang.Object
org.bouncycastle.cert.crmf.OldCertIDControl
- All Implemented Interfaces:
Control
- Direct Known Subclasses:
JcaOldCertIDControl
-
Constructor Summary
ConstructorsConstructorDescriptionOldCertIDControl(org.bouncycastle.asn1.crmf.CertId certId) Basic constructor - build from the ID of the certificate to be replaced.OldCertIDControl(org.bouncycastle.asn1.x500.X500Name issuer, BigInteger serialNumber) Basic constructor - build from the issuer and serial number of the certificate to be replaced. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.crmf.CertIdReturn the certificate ID associated with this control.org.bouncycastle.asn1.ASN1ObjectIdentifiergetType()Return the type of this control.org.bouncycastle.asn1.ASN1EncodablegetValue()Return the certificate ID associated with this control.
-
Constructor Details
-
OldCertIDControl
public OldCertIDControl(org.bouncycastle.asn1.crmf.CertId certId) Basic constructor - build from the ID of the certificate to be replaced.- Parameters:
certId- the issuer and serial number of the certificate to be replaced.
-
OldCertIDControl
Basic constructor - build from the issuer and serial number of the certificate to be replaced.- Parameters:
issuer- the issuer of the certificate to be replaced.serialNumber- the serial number of the certificate to be replaced.
-
-
Method Details
-
getType
-
getValue
-
getCertId
public org.bouncycastle.asn1.crmf.CertId getCertId()Return the certificate ID associated with this control.- Returns:
- a CertId structure.
-