Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_encode_name() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Encodes an X.509 name.
Format
Parameters
ResultsThe function return value will be
0 if no error is detected. Otherwise, it will be one of the return
codes listed in the gskcms.h include file. These are some
possible errors:
UsageThe gsk_encode_name() routine will encode an X.509 name as an ASN.1 stream. The name will be encoded as described in RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile. The stringType field in
the x509_rdn_attribute structure will be used to determine the format
for an encoded directory string. If it is set to x509_string_unknown,
the gsk_encode_name() routine attempts to encode the string
as an ASN.1 printable string. If the string contains characters not
included in the printable string set, the string will be encoded as
an ASN.1 UTF-8 string. There are a couple of mandatory exceptions:
|
Copyright IBM Corporation 1990, 2014
|