CryptoSys PKI Pro Manual

X509.QueryCert Method (String, String, X509.Options)

Query an X.509 certificate file for selected information with [DEPRECATED] options.

Syntax

[C#]
[ObsoleteAttribute("Use X509.QueryCert(String, String, X509.OutputOpts)", 
	false)]
public static string QueryCert(
	string certFile,
	string query,
	X509.Options options
)
[VB.NET]
<ObsoleteAttribute("Use X509.QueryCert(String, String, X509.OutputOpts)",  _
	False)> _
Public Shared Function QueryCert ( _
	certFile As String, _
	query As String, _
	options As X509.Options _
) As String

Parameters

certFile
Filename of certificate file (or its base64 representation)
query
Query string (case insensitive)
options
Type: X509.Options
Option, e.g. Latin1 or Ldap

Return Value

String containing the result, or an empty string on error.

Remarks

Both binary BER and base64 PEM-format certificates can be read, as can a base64 representation of the certificate.

For a list of valid queries, see the X509.QueryCert(String, String) overload

See Also

VB6/C equivalent: X509_QueryCert

[Contents] [Index]

[PREV: X509.MakeCRL Method (String, String, String, String, String, String, X509.Options)...]   [Contents]   [Index]   
   [NEXT: X509.QueryCert Method (String, String, X509.OutputOpts)...]

Copyright © 2004-21 D.I. Management Services Pty Ltd. All rights reserved. Generated 2021-12-27T10:58:57Z.