X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FASN1_STRING_length.pod;h=1c80162b6cce5b325b81ec66ea0975ce780808c4;hp=26cb176142c64f0478a574edd8c125703d9f54ee;hb=1f13ad311367c07fe71c9f911195cd25948184d7;hpb=82992a4130e668c14ff66fca26170629b23c4556 diff --git a/doc/man3/ASN1_STRING_length.pod b/doc/man3/ASN1_STRING_length.pod index 26cb176142..1c80162b6c 100644 --- a/doc/man3/ASN1_STRING_length.pod +++ b/doc/man3/ASN1_STRING_length.pod @@ -77,13 +77,33 @@ character in big endian format, UTF8String will be in UTF8 format. Similar care should be take to ensure the data is in the correct format when calling ASN1_STRING_set(). +=head1 RETURN VALUES + +ASN1_STRING_length() returns the length of the content of B. + +ASN1_STRING_get0_data() and ASN1_STRING_data() return an internal pointer to +the data of B. + +ASN1_STRING_dup() returns a valid B structure or B if an +error occurred. + +ASN1_STRING_cmp() returns an integer greater than, equal to, or less than 0, +according to whether B is greater than, equal to, or less than B. + +ASN1_STRING_set() returns 1 on success or 0 on error. + +ASN1_STRING_type() returns the type of B. + +ASN1_STRING_to_UTF8() returns the number of bytes in output string B or a +negative value if an error occurred. + =head1 SEE ALSO L =head1 COPYRIGHT -Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2002-2017 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