X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fopenssl%2Fdoc%2Fcrypto%2FASN1_generate_nconf.pod;h=92f624fa24d39b10ff75f8cea57d8be04943fed1;hb=02ed66432c92de70694700164f986190aad3cbc5;hp=bfa0a04ff974a21d24edaad3ef0c7a35c7fdbd58;hpb=89016837dcbf2775cd15dc8cbaba00dc6379f86e;p=cassiopeia.git diff --git a/lib/openssl/doc/crypto/ASN1_generate_nconf.pod b/lib/openssl/doc/crypto/ASN1_generate_nconf.pod index bfa0a04..92f624f 100644 --- a/lib/openssl/doc/crypto/ASN1_generate_nconf.pod +++ b/lib/openssl/doc/crypto/ASN1_generate_nconf.pod @@ -8,8 +8,8 @@ ASN1_generate_nconf, ASN1_generate_v3 - ASN1 generation functions #include - ASN1_TYPE *ASN1_generate_nconf(char *str, CONF *nconf); - ASN1_TYPE *ASN1_generate_v3(char *str, X509V3_CTX *cnf); + ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); + ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf); =head1 DESCRIPTION @@ -19,7 +19,7 @@ in an B structure. B contains the string to encode B or B contains the optional configuration information where additional strings will be read from. B will typically come from a config -file wherease B is obtained from an B structure +file whereas B is obtained from an B structure which will typically be used by X509 v3 certificate extension functions. B or B can be set to B if no additional configuration will be used. @@ -40,7 +40,7 @@ That is zero or more comma separated modifiers followed by a type followed by an optional colon and a value. The formats of B, B and B are explained below. -=head2 SUPPORTED TYPES +=head2 Supported Types The supported types are listed below. Unless otherwise specified only the B format is permissible. @@ -52,7 +52,7 @@ only the B format is permissible. This encodes a boolean type. The B string is mandatory and should be B or B. Additionally B, B, B, B, B, B, B, B, B, B, B and B -are acceptable. +are acceptable. =item B @@ -78,12 +78,12 @@ a short name, a long name or numerical format. =item B, B Encodes an ASN1 B structure, the value should be in -the format B. +the format B. =item B, B Encodes an ASN1 B structure, the value should be in -the format B. +the format B. =item B, B @@ -119,7 +119,7 @@ will be encoded. =back -=head2 MODIFIERS +=head2 Modifiers Modifiers affect the following structure, they can be used to add EXPLICIT or IMPLICIT tagging, add wrappers or to change @@ -181,7 +181,7 @@ A BITSTRING with bits 1 and 5 set and all others zero: FORMAT:BITLIST,BITSTRING:1,5 A more complex example using a config file to produce a -SEQUENCE consiting of a BOOL an OID and a UTF8String: +SEQUENCE consisting of a BOOL an OID and a UTF8String: asn1 = SEQUENCE:seq_section @@ -252,14 +252,19 @@ structure: ASN1_generate_nconf() and ASN1_generate_v3() return the encoded data as an B structure or B if an error occurred. -The error codes that can be obtained by L. +The error codes that can be obtained by L. =head1 SEE ALSO -L +L -=head1 HISTORY +=head1 COPYRIGHT -ASN1_generate_nconf() and ASN1_generate_v3() were added to OpenSSL 0.9.8 +Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L. =cut