Package org.bouncycastle.cert
Class DeltaCertificateTool
- java.lang.Object
-
- org.bouncycastle.cert.DeltaCertificateTool
-
public class DeltaCertificateTool extends java.lang.Object
General tool for handling the extension described in: https://datatracker.ietf.org/doc/draft-bonnell-lamps-chameleon-certs/
-
-
Constructor Summary
Constructors Constructor Description DeltaCertificateTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.bouncycastle.asn1.x509.Certificate
extractDeltaCertificate(org.bouncycastle.asn1.x509.TBSCertificate baseTBSCert)
static X509CertificateHolder
extractDeltaCertificate(X509CertificateHolder baseCert)
static org.bouncycastle.asn1.x509.Extension
makeDeltaCertificateExtension(boolean isCritical, org.bouncycastle.asn1.x509.Certificate deltaCert)
static org.bouncycastle.asn1.x509.Extension
makeDeltaCertificateExtension(boolean isCritical, X509CertificateHolder deltaCert)
static org.bouncycastle.asn1.x509.DeltaCertificateDescriptor
trimDeltaCertificateDescriptor(org.bouncycastle.asn1.x509.DeltaCertificateDescriptor descriptor, org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate, org.bouncycastle.asn1.x509.Extensions tbsExtensions)
-
-
-
Method Detail
-
makeDeltaCertificateExtension
public static org.bouncycastle.asn1.x509.Extension makeDeltaCertificateExtension(boolean isCritical, org.bouncycastle.asn1.x509.Certificate deltaCert) throws java.io.IOException
- Throws:
java.io.IOException
-
makeDeltaCertificateExtension
public static org.bouncycastle.asn1.x509.Extension makeDeltaCertificateExtension(boolean isCritical, X509CertificateHolder deltaCert) throws java.io.IOException
- Throws:
java.io.IOException
-
extractDeltaCertificate
public static org.bouncycastle.asn1.x509.Certificate extractDeltaCertificate(org.bouncycastle.asn1.x509.TBSCertificate baseTBSCert)
-
extractDeltaCertificate
public static X509CertificateHolder extractDeltaCertificate(X509CertificateHolder baseCert)
-
trimDeltaCertificateDescriptor
public static org.bouncycastle.asn1.x509.DeltaCertificateDescriptor trimDeltaCertificateDescriptor(org.bouncycastle.asn1.x509.DeltaCertificateDescriptor descriptor, org.bouncycastle.asn1.x509.TBSCertificate tbsCertificate, org.bouncycastle.asn1.x509.Extensions tbsExtensions)
-
-