From e90df98684c00a1ab20fca6d2398bfea3a043bf6 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin
Use the following include directive to get access to the
diff --git a/lib/public_key/doc/src/part.xml b/lib/public_key/doc/src/part.xml
index 51e628aa90..73146c8e2a 100644
--- a/lib/public_key/doc/src/part.xml
+++ b/lib/public_key/doc/src/part.xml
@@ -5,7 +5,7 @@
This application provides an API to public key infrastructure
from The fun should be defined as: If the verify callback fun returns {fail, Reason}, the
@@ -511,7 +514,8 @@ fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} |
The fun has the following type spec: The fun should use the information in the distribution point to acesses
the lates possible version of the CRL. If this fun is not specified
@@ -519,6 +523,21 @@ fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} |
The fun has the following type spec: The fun should return the Root certificate and certificate chain
+ that has signed the CRL.
+
-fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} |
- {extension, #'Extension'{}},
+fun(OtpCert :: #'OTPCertificate'{},
+ Event :: {bad_cert, Reason :: atom()} |
+ {extension, #'Extension'{}},
InitialUserState :: term()) ->
- {valid, UserState :: term()} | {valid_peer, UserState :: term()} |
- {fail, Reason :: term()} | {unknown, UserState :: term()}.
+ {valid, UserState :: term()} |
+ {valid_peer, UserState :: term()} |
+ {fail, Reason :: term()} |
+ {unknown, UserState :: term()}.
fun(#'DistributionPoint'{}, #'CertificateList'{}) -> #'CertificateList'{}
+ fun(#'DistributionPoint'{}, #'CertificateList'{}) ->
+ #'CertificateList'{}
fun(_DP, CRL) -> CRL end
+fun(#'DistributionPoint'{}, #'CertificateList'{},
+ {rdnSequence,[#'AttributeTypeAndValue'{}]}, term()) ->
+ {ok, #'OTPCertificate'{}, [der_encoded]}
+
+ fun(DP, CRL, Issuer, UserState) -> {ok, RootCert, CertChain}
+