C# Class Keyczar.Unofficial.AesAeadKey

Uses Authenticated Encryption with Associated Data Mode with AES. Specficially supports GCM mode.
Inheritance: Key, ICrypterKey
Afficher le fichier Open project: jbtule/keyczar-dotnet

Méthodes publiques

Свойство Type Description
GcmMode string

Private Properties

Свойство Type Description
GetKeyParameters Org.BouncyCastle.Crypto.Parameters.KeyParameter
GetMode Func

Méthodes publiques

Méthode Description
AesAeadKey ( ) : System

Initializes a new instance of the AesAeadKey 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

GenerateKey ( int size ) : void

Generates the key.

Private Methods

Méthode Description
GetKeyParameters ( ) : KeyParameter
GetMode ( ) : Func

Method Details

AesAeadKey() public méthode

Initializes a new instance of the AesAeadKey class.
public AesAeadKey ( ) : System
Résultat System

Dispose() protected méthode

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

GenerateKey() protected méthode

Generates the key.
protected GenerateKey ( int size ) : void
size int The size.
Résultat void

GetAuthSigningStream() public méthode

Gets the authentication signing stream.
public GetAuthSigningStream ( ) : HashingStream
Résultat Keyczar.Crypto.Streams.HashingStream

GetAuthVerifyingStream() public méthode

Gets the authentication verifying stream.
public GetAuthVerifyingStream ( ) : VerifyingStream
Résultat VerifyingStream

GetDecryptingStream() public méthode

Gets the decrypting stream.
public GetDecryptingStream ( Stream output ) : FinishingStream
output Stream The output.
Résultat Keyczar.Crypto.Streams.FinishingStream

GetEncryptingStream() public méthode

Gets the encrypting stream.
public GetEncryptingStream ( Stream output ) : FinishingStream
output Stream The output.
Résultat Keyczar.Crypto.Streams.FinishingStream

GetFallbackKeyHash() public méthode

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

GetKeyHash() public méthode

Gets the key hash.
public GetKeyHash ( ) : byte[]
Résultat byte[]

Property Details

GcmMode public_oe static_oe property

The GCM mode
public static string GcmMode
Résultat string