Click or drag to resize

RsaGetPublicKeyFromCert Method

Note: This API is now obsolete.

Read public key from X.509 certificate into internal string format.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
[ObsoleteAttribute("Use Rsa.ReadPublicKey() instead", false)]
public static StringBuilder GetPublicKeyFromCert(
	string certFile
)

Parameters

certFile  String
Filename of certificate file (or its base64 representation)

Return Value

StringBuilder
StringBuilder containing an internal representation of the public key; or an empty StringBuilder if error
Remarks
This returns a StringBuilder, not a string. Use sb.ToString() to obtain a string.
See Also