Package org.bouncycastle.pkcs.jcajce
package org.bouncycastle.pkcs.jcajce
JCA extensions and operators for the PKCS#10 certification request package.
-
ClassesClassDescriptionJCA-aware extension of
PKCS10CertificationRequestthat returns the request's public key as a JCAPublicKey.Extension of the PKCS#10 builder to support PublicKey and X500Principal objects.JCA-aware extension ofPKCS12SafeBagBuilderthat accepts standard JCAX509CertificateandPrivateKeyinputs.JCA-aware extension ofPKCS8EncryptedPrivateKeyInfoBuilderthat accepts a standardPrivateKeyas input.A builder for RFC 8018 PBE based MAC calculators.Builder for aPBEMacCalculatorProviderthat vends PBMAC1 (RFC 8018 / RFC 9579) verifier MAC calculators via the JCA.JCA-based builder for the password-based MAC calculator used to protect the integrity of a PKCS#12 PFX (RFC 7292).JCA-basedPKCS12MacCalculatorBuilderProviderthat handles both the legacy PKCS#12 PBE-MAC (RFC 7292) and the RFC 9579 PBMAC1 protection schemes.JCA-based builder for anInputDecryptorProviderthat handles the password-based decryption schemes encountered in PKCS#12 / PKCS#8: the legacypkcs-12PbeIdsfamily (RFC 7292 Appendix C), PBES2 / PBKDF2 and PBES2 / scrypt (RFC 8018, RFC 7914), and the older PBE1 schemes (pbeWithMD5AndDES-CBC,pbeWithSHA1AndDES-CBC).JCA-based builder for anOutputEncryptorthat applies one of the password-based encryption schemes used to protect PKCS#8 / PKCS#12 payloads: the legacy PKCS#12pkcs-12PbeIdsfamily (RFC 7292 Appendix C) — selected when the constructor is passed one of those OIDs, PBES2 (RFC 8018) — selected for any other key-encryption algorithm; the embedded key-derivation function may be PBKDF2 or scrypt (RFC 7914) via an explicitPBKDFConfig.