C# Class Keyczar.Compat.ImportedKeySet

Imported Keyset, can be used for compatiblity with keys stored as PEM,DER or X509 certificates
Inheritance: IKeySet, IDisposable
Exibir arquivo Open project: jbtule/keyczar-dotnet Class Usage Examples

Public Properties

Property Type Description
Import Importer

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetKeyData ( int version ) : byte[]

Gets the binary data that the key is stored in.

ImportedKeySet ( Key key, KeyPurpose purpose, string description = null ) : System

Initializes a new instance of the ImportedKeySet class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GetKeyData() public method

Gets the binary data that the key is stored in.
public GetKeyData ( int version ) : byte[]
version int The version.
return byte[]

ImportedKeySet() public method

Initializes a new instance of the ImportedKeySet class.
public ImportedKeySet ( Key key, KeyPurpose purpose, string description = null ) : System
key Key The key.
purpose KeyPurpose The purpose.
description string The description.
return System

Property Details

Import public_oe static_oe property

Methods of this property are the import commands
public static Importer Import
return Importer