Public_Key(Application)

✨ NAME ✨

Public_Key Application β€” hiii bestie, welcome to the Public_Key(Application) manual page, brought to you by Ericsson AB πŸ’– This is the whole vibe for the public-key app.

πŸ’… DESCRIPTION πŸ’…

Okay so the Public Key application deals with public-key related file formats, digital signatures, and X-509 certificates. It handles validation of certificate paths and certificate revocation lists (CRLs) plus other functions for handling of certificates, keys, and CRLs. No cap.

It is a library application, which means it does not read or write files β€” it expects or returns file contents or partial file contents as binaries. Except for the functions public-key:cacerts_load/0, public-key:cacerts_load/1, and public-key:cacerts_get/0 β€” those read files. 🫢

🌈 Supported PKIX functionality 🌈

  • Supports RFC 5280 β€” Internet X.509 Public-Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile. Certificate policies supported since OTP-26.2 ✨
  • Supports PKCS-1 β€” RSA Cryptography Standard
  • Supports DSS β€” Digital Signature Standard (DSA β€” Digital Signature Algorithm)
  • Supports PKCS-3 β€” Diffie-Hellman Key Agreement Standard
  • Supports Cryptographic Message Syntax (CMS) (http://www.ietf.org/rfc/rfc5652.txt) including Password-Based Encryption with original PKCS-5 support, but currently excluding offical support for most of section 10-12 (if proven useful, especially Attribute Certificates v2, it might be added later).
  • Supports PKCS-8 β€” Private-Key Information Syntax Standard
  • Supports PKCS-10 β€” Certification Request Syntax Standard
  • Supports PKIXCMP β€” Certificate Management Protocol
  • Supports PKIXCRMF β€” Certificate Request Message Format

πŸ”— Dependencies πŸ”—

The public_key application uses the Crypto application to perform cryptographic operations and the ASN-1 application to handle PKIX-ASN-1 specifications, so these applications must be loaded for the public_key application to work. In an embedded environment this means they must be started with application:start/[1,2] before the public_key application is started.

πŸ“ Error Logger and Event Handlers πŸ“

The public_key application is a library application and does not use the error logger. The functions will either succeed or fail with a runtime error. Periodt. πŸ’€

πŸ‘€ See Also πŸ‘€

  • application

okay bestie, that's the whole page πŸ’… signing off with public_key 1.21.7, dated 6, and filed under Public_Key(Application) πŸŽ€βœ¨

πŸ“¦ where this page comes from