Package org.bouncycastle.pkcs
Class DeltaCertAttributeUtils
java.lang.Object
org.bouncycastle.pkcs.DeltaCertAttributeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDeltaRequestSignatureValid(PKCS10CertificationRequest baseRequest, ContentVerifierProvider contentVerifierProvider) trimDeltaCertificateRequest(DeltaCertificateRequestAttributeValue delta, PKCS10CertificationRequest baseRequest) Return a copy ofdeltawith subject, signatureAlgorithm and extensions fields stripped when they match the corresponding fields ofbaseRequest.
-
Constructor Details
-
DeltaCertAttributeUtils
public DeltaCertAttributeUtils()
-
-
Method Details
-
isDeltaRequestSignatureValid
public static boolean isDeltaRequestSignatureValid(PKCS10CertificationRequest baseRequest, ContentVerifierProvider contentVerifierProvider) throws PKCSException - Throws:
PKCSException
-
trimDeltaCertificateRequest
public static DeltaCertificateRequestAttributeValue trimDeltaCertificateRequest(DeltaCertificateRequestAttributeValue delta, PKCS10CertificationRequest baseRequest) Return a copy ofdeltawith subject, signatureAlgorithm and extensions fields stripped when they match the corresponding fields ofbaseRequest.draft-bonnell-lamps-chameleon-certs section 4.1 says the extensions field MUST NOT contain any extension which has the same criticality and DER-encoded value as the base, whose type does not appear in the base, or which is the DCD extension type itself.
-