From ecf7905a6800d2072daa9aaf953f13e24cdfaa5f Mon Sep 17 00:00:00 2001 From: Yuki Ito Date: Tue, 24 Feb 2015 23:41:34 +0900 Subject: Fix typos in the public_key doc --- lib/public_key/doc/src/public_key.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/public_key') diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml index e3473f80d7..6788405f36 100644 --- a/lib/public_key/doc/src/public_key.xml +++ b/lib/public_key/doc/src/public_key.xml @@ -368,8 +368,8 @@ pkix_is_issuer(Cert, IssuerCert) -> boolean() Checks if IssuerCert issued Cert - Cert = der_encode() | #'OTPCertificate'{} - IssuerCert = der_encode() | #'OTPCertificate'{} + Cert = der_encoded() | #'OTPCertificate'{} + IssuerCert = der_encoded() | #'OTPCertificate'{}

Checks if IssuerCert issued Cert

@@ -380,7 +380,7 @@ pkix_is_fixed_dh_cert(Cert) -> boolean() Checks if a Certificate is a fixed Diffie-Hellman Cert. - Cert = der_encode() | #'OTPCertificate'{} + Cert = der_encoded() | #'OTPCertificate'{}

Checks if a Certificate is a fixed Diffie-Hellman Cert.

@@ -391,7 +391,7 @@ pkix_is_self_signed(Cert) -> boolean() Checks if a Certificate is self signed. - Cert = der_encode() | #'OTPCertificate'{} + Cert = der_encoded() | #'OTPCertificate'{}

Checks if a Certificate is self signed.

@@ -402,7 +402,7 @@ pkix_issuer_id(Cert, IssuedBy) -> {ok, IssuerID} | {error, Reason} Returns the issuer id. - Cert = der_encode() | #'OTPCertificate'{} + Cert = der_encoded() | #'OTPCertificate'{} IssuedBy = self | other IssuerID = {integer(), {rdnSequence, [#'AttributeTypeAndValue'{}]}} The issuer id consists of the serial number and the issuers name. @@ -431,13 +431,13 @@ pkix_path_validation(TrustedCert, CertChain, Options) -> {ok, {PublicKeyInfo, PolicyTree}} | {error, {bad_cert, Reason}} Performs a basic path validation according to RFC 5280. - TrustedCert = #'OTPCertificate'{} | der_encode() | atom() + TrustedCert = #'OTPCertificate'{} | der_encoded() | atom() Normally a trusted certificate but it can also be a path validation error that can be discovered while constructing the input to this function and that should be run through the verify_fun. For example unknown_ca or selfsigned_peer - CertChain = [der_encode()] + CertChain = [der_encoded()] A list of DER encoded certificates in trust order ending with the peer certificate. Options = proplists:proplist() PublicKeyInfo = {?'rsaEncryption' | ?'id-dsa', @@ -576,7 +576,7 @@ fun(#'DistributionPoint'{}, #'CertificateList'{}, - pkix_sign(#'OTPTBSCertificate'{}, Key) -> der_encode() + pkix_sign(#'OTPTBSCertificate'{}, Key) -> der_encoded() Signs certificate. Key = rsa_public_key() | dsa_public_key() @@ -606,7 +606,7 @@ fun(#'DistributionPoint'{}, #'CertificateList'{}, pkix_verify(Cert, Key) -> boolean() Verify pkix x.509 certificate signature. - Cert = der_encode() + Cert = der_encoded() Key = rsa_public_key() | dsa_public_key() -- cgit v1.2.3