C# Class Keyczar.Crypto.AesKey

Encrypts AES
Inheritance: Key, ICrypterKey
Exibir arquivo Open project: jbtule/keyczar-dotnet

Private Properties

Property Type Description

Public Methods

Method Description
AesKey ( ) : System.Collections.Generic

Initializes a new instance of the AesKey class.

GetAuthSigningStream ( ) : HashingStream

Gets the authentication signing stream.

GetAuthVerifyingStream ( ) : VerifyingStream

Gets the authentication verifying stream.

GetDecryptingStream ( Stream output ) : FinishingStream

Gets the decrypting stream.

GetEncryptingStream ( Stream output ) : FinishingStream

Gets the encrypting stream.

GetFallbackKeyHash ( ) : IEnumerable

Gets the fallback key hashes. old/buggy hashes from old/other keyczar implementations

GetKeyHash ( ) : byte[]

Gets the key hash.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

GenerateKey ( int size ) : void

Generates the key.

Method Details

AesKey() public method

Initializes a new instance of the AesKey class.
public AesKey ( ) : System.Collections.Generic
return System.Collections.Generic

Dispose() protected method

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

GenerateKey() protected method

Generates the key.
protected GenerateKey ( int size ) : void
size int The size.
return void

GetAuthSigningStream() public method

Gets the authentication signing stream.
public GetAuthSigningStream ( ) : HashingStream
return Keyczar.Crypto.Streams.HashingStream

GetAuthVerifyingStream() public method

Gets the authentication verifying stream.
public GetAuthVerifyingStream ( ) : VerifyingStream
return VerifyingStream

GetDecryptingStream() public method

Gets the decrypting stream.
public GetDecryptingStream ( Stream output ) : FinishingStream
output System.IO.Stream The output.
return Keyczar.Crypto.Streams.FinishingStream

GetEncryptingStream() public method

Gets the encrypting stream.
public GetEncryptingStream ( Stream output ) : FinishingStream
output System.IO.Stream The output.
return Keyczar.Crypto.Streams.FinishingStream

GetFallbackKeyHash() public method

Gets the fallback key hashes. old/buggy hashes from old/other keyczar implementations
public GetFallbackKeyHash ( ) : IEnumerable
return IEnumerable

GetKeyHash() public method

Gets the key hash.
public GetKeyHash ( ) : byte[]
return byte[]