public_key(7)
π public_key β the Erlang Application Definition moment π
okay bestie, welcome to public_key(7), the manual page for the public_key application in Erlang/OTP. yes, the whole application definition page, not a single function. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
public_key β she provides functions to handle public-key infrastructure. that's it, that's the girl. π
πΈ DESCRIPTION πΈ
so like, public_key provides encode/decode of different file formats (PEM, OpenSSH), digital signature and verification functions, validation of certificate paths and certificate revocation lists (CRLs), and other functions for handling of certificates, keys and CRLs. it's giving cryptography main character energy, no cap. π₯
and here's the stan list of what she supports:
- Supports RFC 5280 β Internet X.509 Public-Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile. Certificate policies are currently not supported. (yes, that's a real limitation, don't come for me.)
- Supports PKCS-1 β RSA Cryptography Standard
- Supports DSS β Digital Signature Standard (DSA - Digital Signature Algorithm)
- Supports PKCS-3 β Diffie-Hellman Key Agreement Standard
- Supports PKCS-5 β Password-Based Cryptography Standard
- Supports AES β Use of the Advanced Encryption Standard (AES) Algorithm in Cryptographic Message Syntax (CMS)
- Supports PKCS-8 β Private-Key Information Syntax Standard
- Supports PKCS-10 β Certification Request Syntax Standard
ate. no crumbs. β
π¦ DEPENDENCIES π¦
okay so this part matters, don't skip it. the public_key application uses the Crypto application to perform cryptographic operations and the ASN-1 application to handle PKIX-ASN-1 specifications, hence 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. order matters, bestie, it's literally the whole vibe. π
π 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. that's the deal. no in-between, no drama, just vibes. β¨
π SEE ALSO π
and that's the page, pookie π β this was public_key(7) from the Erlang Application Definition corner of the manual, brought to you by Ericsson AB, running version public_key 1.13.3.2. mwah, go read your certs responsibly π
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms