CryptoSys PKI Toolkit Manual

Rsa.SavePublicKey Method

Saves 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 an error cod

See Also

VB6/C equivalent: RSA_SavePublicKey

[Contents] [Index]

[HOME]   [NEXT: Rsa.ToXMLString Method...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.