Click or drag to resize

RsaSavePublicKey Method

Save a public key string to PKCS-1 public key file.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static int SavePublicKey(
	string outputFile,
	string publicKey,
	RsaFormat format
)

Parameters

outputFile  String
Name of file to create
publicKey  String
Public key in internal format
format  RsaFormat
File format

Return Value

Int32
If successful, the return value is zero; otherwise it returns a nonzero error code
See Also