C# Class Keyczar.Compat.ImportedKeySet.Importer

Turns files into importedkeysets
Afficher le fichier Open project: jbtule/keyczar-dotnet

Méthodes publiques

Méthode 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 méthode

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.
Résultat ImportedKeySet

PkcsKey() public méthode

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.
Résultat ImportedKeySet

X509Certificate() public méthode

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

X509Certificate() public méthode

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.
Résultat ImportedKeySet