C# Class Keyczar.Keyczar

Base class for standard crypt/sign API
Inheritance: IDisposable
Afficher le fichier Open project: jbtule/keyczar-dotnet Class Usage Examples

Méthodes publiques

Свойство Type Description
FormatVersion byte
HeaderLength int
KeyHashLength int

Protected Properties

Свойство Type Description
BufferSize int

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

GetAllKeys ( ) : IEnumerable

Gets all keys.

GetKey ( byte hash ) : IEnumerable

Gets the key using a hash.

GetPrimaryKey ( ) : Key

Gets the primary key.

Keyczar ( IKeySet keySet ) : System

Initializes a new instance of the Keyczar class.

Keyczar ( string keySetLocation ) : System

Initializes a new instance of the Keyczar class.

Private Methods

Méthode Description
HashKeys ( IList versions ) : Dictionary>
HashedFallbackKeys ( IList versions ) : List>.Dictionary

Method Details

Dispose() public méthode

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

Dispose() protected méthode

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

GetAllKeys() protected méthode

Gets all keys.
protected GetAllKeys ( ) : IEnumerable
Résultat IEnumerable

GetKey() protected méthode

Gets the key using a hash.
protected GetKey ( byte hash ) : IEnumerable
hash byte The hash.
Résultat IEnumerable

GetPrimaryKey() protected méthode

Gets the primary key.
protected GetPrimaryKey ( ) : Key
Résultat Key

Keyczar() protected méthode

Initializes a new instance of the Keyczar class.
protected Keyczar ( IKeySet keySet ) : System
keySet IKeySet The key set.
Résultat System

Keyczar() protected méthode

Initializes a new instance of the Keyczar class.
protected Keyczar ( string keySetLocation ) : System
keySetLocation string The key set location.
Résultat System

Property Details

BufferSize protected_oe static_oe property

Buffer size used throughout
protected static int BufferSize
Résultat int

FormatVersion public_oe static_oe property

Keyczar format version
public static byte FormatVersion
Résultat byte

HeaderLength public_oe static_oe property

Full keyczar format header length
public static int HeaderLength
Résultat int

KeyHashLength public_oe static_oe property

Key hash length
public static int KeyHashLength
Résultat int