Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_decode_certificate_extension() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Decodes an X.509 certificate extension.
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_decode_certificate() and gsk_decode_crl() routines returns all of the certificate extensions in the x509_extensions structure with the extension values still in ASN.1 encoded format. The application then calls the gsk_decode_certificate_extension() routine to decode a specific certificate extension. The gsk_decode_certificate_extension() routine returns character strings using UTF-8 encoding. If necessary, the application can call the iconv() routine to convert the strings to a different encoding. These certificate extensions are supported:
These general name types are supported:
These general name types are not supported and will be
copied to the decoded extension data as an ASN.1-encoded sequence:
|
Copyright IBM Corporation 1990, 2014
|