C# Class Keyczar.Compat.ImportedKeySet.Importer

Turns files into importedkeysets
Exibir arquivo Open project: jbtule/keyczar-dotnet

Public Methods

Method Description
PkcsKey ( KeyPurpose purpose, Stream input, Func passwordPrompt = null ) : ImportedKeySet

Import the PKCS key.

PkcsKey ( KeyPurpose purpose, string path, Func passwordPrompt = null ) : ImportedKeySet

Import the PKCS key.

X509Certificate ( KeyPurpose purpose, Stream input ) : ImportedKeySet

Imports the X509 certificate.

X509Certificate ( KeyPurpose purpose, string path ) : ImportedKeySet

Imports the X509 the certificate.

Method Details

PkcsKey() public method

Import the PKCS key.
DSA key cannot be used for encryption and decryption! Unsupported key type!
public PkcsKey ( KeyPurpose purpose, Stream input, Func passwordPrompt = null ) : ImportedKeySet
purpose KeyPurpose The purpose.
input Stream The input.
passwordPrompt Func The pass phrase prompt.
return ImportedKeySet

PkcsKey() public method

Import the PKCS key.
public PkcsKey ( KeyPurpose purpose, string path, Func passwordPrompt = null ) : ImportedKeySet
purpose KeyPurpose The purpose.
path string The path.
passwordPrompt Func The pass phrase prompt.
return ImportedKeySet

X509Certificate() public method

Imports the X509 certificate.
public X509Certificate ( KeyPurpose purpose, Stream input ) : ImportedKeySet
purpose KeyPurpose The purpose.
input Stream The input.
return ImportedKeySet

X509Certificate() public method

Imports the X509 the certificate.
DSA key cannot be used for encryption and decryption! Unsupported key type!
public X509Certificate ( KeyPurpose purpose, string path ) : ImportedKeySet
purpose KeyPurpose The purpose.
path string The path.
return ImportedKeySet