From 006f45a738a6612958381b2fcbf48586c008d911 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin
#'Extension'{
extnID, % id_extensions() | oid()
diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml
index 5864de2d57..84300f6e65 100644
--- a/lib/public_key/doc/src/public_key.xml
+++ b/lib/public_key/doc/src/public_key.xml
@@ -48,7 +48,7 @@
- Supports
RFC 5280 -
Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
- Supports
PKCS-1 - RSA Cryptography Standard
- - Supports
DSA - Digital Signature Algorithm
+ - 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
PKCS-8 - Private-Key Information Syntax Standard
@@ -72,8 +72,10 @@
-include_lib("public_key/include/public_key.hrl").
- Data Types
+ Data Types
+ oid() - a tuple of integers as generated by the ASN1 compiler.
+
boolean() = true | false
string() = [bytes()]
@@ -491,6 +493,21 @@ fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} |
+
+ pkix_sign_types(AlgorithmId) -> {DigestType, SignatureType}
+ Translates signature algorithm oid to erlang digest and signature algorithm types.
+
+ AlgorithmId = oid()
+ Signature oid from a certificate or a certificate revocation list
+ DigestType = rsa_digest_type() | dss_digest_type()
+ SignatureType = rsa | dsa
+
+
+ Translates signature algorithm oid to erlang digest and signature types.
+
+
+
+
pkix_verify(Cert, Key) -> boolean()
Verify pkix x.509 certificate signature.
--
cgit v1.2.3