From 6103f39c0d79e86b58ae9437bc4c55a513a5e1dd Mon Sep 17 00:00:00 2001 From: Nikolay Morozov Date: Fri, 14 Feb 2020 13:14:30 +0300 Subject: x509v3 subjectSignTool extention support Subject Sign Tool (1.2.643.100.111) The name of the tool used to signs the subject (UTF8String) This extention is required to obtain the status of a qualified certificate at Russian Federation. RFC-style description is available here: https://tools.ietf.org/html/draft-deremin-rfc4491-bis-04#section-5 Russian Federal Law 63 "Digital Sign" is available here: http://www.consultant.ru/document/cons_doc_LAW_112701/ Reviewed-by: Matt Caswell Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/11093) --- doc/internal/man3/s2i_ASN1_UTF8STRING.pod | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 doc/internal/man3/s2i_ASN1_UTF8STRING.pod (limited to 'doc/internal') diff --git a/doc/internal/man3/s2i_ASN1_UTF8STRING.pod b/doc/internal/man3/s2i_ASN1_UTF8STRING.pod new file mode 100644 index 0000000000..03a309ba22 --- /dev/null +++ b/doc/internal/man3/s2i_ASN1_UTF8STRING.pod @@ -0,0 +1,45 @@ +=pod + +=head1 NAME + +i2s_ASN1_UTF8STRING, +s2i_ASN1_UTF8STRING, +- convert objects from/to ASN.1/string representation + +=head1 SYNOPSIS + +=for openssl generic + + char *i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method, + ASN1_UTF8STRING *utf8); + ASN1_UTF8STRING *s2i_ASN1_UTF8STRING(X509V3_EXT_METHOD *method, + X509V3_CTX *ctx, const char *str); +=head1 DESCRIPTION + +These functions convert OpenSSL objects to and from their ASN.1/string +representation. This function is used for B extentions. + +=head1 NOTES + +The letters B and B in B() stand for +"internal" (that is, an internal C structure) and string respectively. +So B() converts from internal to string. + +=head1 RETURN VALUES + +B() return a valid +B structure or NULL if an error occurs. + +B() returns the pointer to a UTF-8 string +or NULL if an error occurs. + +=head1 COPYRIGHT + +Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the Apache License 2.0 (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 -- cgit v1.2.3