From 228aa99db473dc2145c8f55819e972f5dc6bb501 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Fri, 11 Jan 2013 15:04:03 +0100 Subject: public_key: Enhance documentation --- lib/public_key/doc/src/cert_records.xml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'lib/public_key/doc/src/cert_records.xml') diff --git a/lib/public_key/doc/src/cert_records.xml b/lib/public_key/doc/src/cert_records.xml index 6d3d4b3107..f01f7dbaf5 100644 --- a/lib/public_key/doc/src/cert_records.xml +++ b/lib/public_key/doc/src/cert_records.xml @@ -5,7 +5,7 @@
2008 - 2012 + 2013 Ericsson AB, All Rights Reserved @@ -34,12 +34,11 @@ cert_records.xml
-

This chapter briefly describes erlang records derived from asn1 - specifications used to handle X509 certificates. The intent is to - describe the data types and not to specify the meaning of each +

This chapter briefly describes erlang records derived from ASN1 + specifications used to handle X509 certificates and CertificationRequest. + The intent is to describe the data types and not to specify the meaning of each component for this we refer you to RFC 5280. Also - descirbed is

CertificationRequest

that is defined by + href="http://www.ietf.org/rfc/rfc5280.txt">RFC 5280 and PKCS-10.

@@ -48,7 +47,7 @@ -include_lib("public_key/include/public_key.hrl"). -

The used asn1 specifications are available asn1 subdirectory +

The used ASN1 specifications are available asn1 subdirectory of the application public_key.

@@ -62,7 +61,7 @@ follows here.

oid() - a tuple of integers - as generated by the asn1 compiler.

+ as generated by the ASN1 compiler.

time() = uct_time() | general_time()

@@ -101,7 +100,7 @@ #'Certificate'{ tbsCertificate, % #'TBSCertificate'{} signatureAlgorithm, % #'AlgorithmIdentifier'{} - signature % {0, binary()} - asn1 compact bitstring + signature % {0, binary()} - ASN1 compact bitstring }. #'TBSCertificate'{ @@ -127,7 +126,7 @@ #'OTPCertificate'{ tbsCertificate, % #'OTPTBSCertificate'{} signatureAlgorithm, % #'SignatureAlgorithm' - signature % {0, binary()} - asn1 compact bitstring + signature % {0, binary()} - ASN1 compact bitstring }. #'OTPTBSCertificate'{ @@ -531,7 +530,7 @@ oid names see table below. Ex: ?'id-dsa-with-sha1'

#'CertificateList'{ tbsCertList, % #'TBSCertList{} signatureAlgorithm, % #'AlgorithmIdentifier'{} - signature % {0, binary()} - asn1 compact bitstring + signature % {0, binary()} - ASN1 compact bitstring }). #'TBSCertList'{ @@ -643,7 +642,7 @@ oid names see table below. Ex: ?'id-dsa-with-sha1'

#'CertificationRequest'{ certificationRequestInfo #'CertificationRequestInfo'{}, signatureAlgorithm #'CertificationRequest_signatureAlgorithm'{}}. - signature {0, binary()} - asn1 compact bitstring + signature {0, binary()} - ASN1 compact bitstring } #'CertificationRequestInfo'{ @@ -655,7 +654,7 @@ oid names see table below. Ex: ?'id-dsa-with-sha1'

#'CertificationRequestInfo_subjectPKInfo'{ algorithm #'CertificationRequestInfo_subjectPKInfo_algorithm'{} - subjectPublicKey {0, binary()} - asn1 compact bitstring + subjectPublicKey {0, binary()} - ASN1 compact bitstring } #'CertificationRequestInfo_subjectPKInfo_algorithm'{ -- cgit v1.2.3