CryptoSys PKI Toolkit Manual

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

Queries an X.509 certificate file for selected information with options.

Syntax

[C#]
public static string QueryCert(
	string certFile,
	string query,
	X509.Options options
)
[VB.NET]
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
Option, e.g. Latin1

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]

[HOME]   [NEXT: X509.ReadStringFromFile Method...]

Copyright © 2004-10 D.I. Management Services Pty Ltd. All rights reserved.