Save a public key string to PKCS-1 public key file.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static int SavePublicKey(
string outputFile,
string publicKey,
RsaFormat format
)
Public Shared Function SavePublicKey (
outputFile As String,
publicKey As String,
format As RsaFormat
) As Integer
Parameters
- outputFile String
- Name of file to create
- publicKey String
- Public key in internal format
- format RsaFormat
- File format
Return Value
Int32If successful, the return value is zero; otherwise it returns a nonzero
error code
See Also