Click or drag to resize

EccReadPublicKey Method

Read from a file or string containing an EC public key into an "internal" public key string.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static StringBuilder ReadPublicKey(
	string keyFileOrString
)

Parameters

keyFileOrString  String
Name of public key file or a PEM String containing the key

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