# Package org.bouncycastle.asn1.pkcs

Support classes useful for encoding and supporting the various RSA PKCS documents.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  PKCSObjectIdentifiers | pkcs-1 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 }

- Class Summary
  Class | Description
  --- | ---
  Attribute |
  AuthenticatedSafe |
  CertBag |
  CertificationRequest | PKCS10 Certification request object.
  CertificationRequestInfo | PKCS10 CertificationRequestInfo object.
  ContentInfo |
  CRLBag | CRL Bag for PKCS#12
  DHParameter |
  EncryptedData | The EncryptedData object.
  EncryptedPrivateKeyInfo |
  EncryptionScheme |
  IssuerAndSerialNumber |
  KeyDerivationFunc |
  MacData |
  PBEParameter |
  PBES2Parameters |
  PBKDF2Params | PBKDF2-params ::= SEQUENCE { salt CHOICE { specified OCTET STRING, otherSource AlgorithmIdentifier {{PBKDF2-SaltSources}} }, iterationCount INTEGER (1..MAX), keyLength INTEGER (1..MAX) OPTIONAL, prf AlgorithmIdentifier {{PBKDF2-PRFs}} DEFAULT algid-hmacWithSHA1 }
  PBMAC1Params | From https://datatracker.ietf.org/doc/html/rfc8018 PBMAC1-params ::= SEQUENCE { keyDerivationFunc AlgorithmIdentifier {{PBMAC1-KDFs}}, messageAuthScheme AlgorithmIdentifier {{PBMAC1-MACs}} }
  Pfx | the infamous Pfx from PKCS12
  PKCS12PBEParams |
  PrivateKeyInfo | RFC 5958 [IMPLICIT TAGS] OneAsymmetricKey ::= SEQUENCE { version Version, privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, privateKey PrivateKey, attributes [0] Attributes OPTIONAL, ..., [[2: publicKey [1] PublicKey OPTIONAL ]], ... } PrivateKeyInfo ::= OneAsymmetricKey Version ::= INTEGER { v1(0), v2(1) } (v1, ..., v2) PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier { PUBLIC-KEY, { PrivateKeyAlgorithms } } PrivateKey ::= OCTET STRING -- Content varies based on type of key.
  RC2CBCParameter |
  RSAESOAEPparams |
  RSAPrivateKey |
  RSAPrivateKeyStructure | Deprecated use RSAPrivateKey
  RSAPublicKey |
  RSASSAPSSparams |
  SafeBag |
  SecretBag | RFC 7292 - SecretBag carrier for arbitrary secret values stored in a PKCS#12 SafeBag of type `secretBag` (`PKCSObjectIdentifiers.secretBag`).
  SignedData | a PKCS#7 signed data object.
  SignerInfo | a PKCS#7 signer info object.

## Package org.bouncycastle.asn1.pkcs Description

Support classes useful for encoding and supporting the various RSA PKCS documents.