CryptoSys PKI Pro Manual

Rsa.SavePublicKey Method

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

Syntax

[C#]
public static int SavePublicKey(
	string outputFile,
	string publicKey,
	Rsa.Format format
)
[VB.NET]
Public Shared Function SavePublicKey ( _
	outputFile As String, _
	publicKey As String, _
	format As Rsa.Format _
) As Integer

Parameters

outputFile
Name of file to create
publicKey
Public key in internal format
format
Type: Rsa.Format
File format

Return Value

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

See Also

VB6/C equivalent: RSA_SavePublicKey

[Contents] [Index]

[PREV: Rsa.SavePrivateKeyInfo Method...]   [Contents]   [Index]   
   [NEXT: Rsa.ToXMLString Method (String, Rsa.XmlOptions)...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.