CryptoSys PKI Pro Manual

asn1Type

Describe the type of ASN.1 data.

Syntax

[VBA]
Public Function asn1Type ( _
    szFileOrPEMString As String, _
    Optional nOptions As Long = 0 _
) As String

Parameters

szFileOrPEMString
Filename of ASN.1 formatted data file to be analyzed (or a string containing its base64 or PEM representation).
nOptions
For future use.

Return Value

String: String containing the name of the type of ASN.1 data or the empty string if not found.

Remarks

Possible return values:
"EC PRIVATE KEY"
"OCSP REQUEST"
"OCSP RESPONSE"
"PKCS1 RSA PRIVATE KEY"
"PKCS1 RSA PUBLIC KEY"
"PKCS10 CERTIFICATE REQUEST"
"PKCS12 PFX"
"PKCS7 CERTIFICATE CHAIN"
"PKCS7/CMS COMPRESSED DATA"
"PKCS7/CMS DATA"
"PKCS7/CMS ENVELOPED DATA"
"PKCS7/CMS SIGNED DATA"
"PKCS8 ENCRYPTED PRIVATE KEY"
"PKCS8 PRIVATE KEY INFO"
"PUBLIC KEY INFO"
"X509 CERTIFICATE"
"X509 CRL"
[PREV: asn1TextDumpToString...]   [Contents]   [Index]   
   [NEXT: cipherDecryptAEAD...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.