C# 클래스 Keyczar.Unofficial.AesAeadKey

Uses Authenticated Encryption with Associated Data Mode with AES. Specficially supports GCM mode.
상속: Key, ICrypterKey
파일 보기 프로젝트 열기: jbtule/keyczar-dotnet

공개 프로퍼티들

프로퍼티 타입 설명
GcmMode string

Private Properties

프로퍼티 타입 설명
GetKeyParameters Org.BouncyCastle.Crypto.Parameters.KeyParameter
GetMode Func

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

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

GenerateKey ( int size ) : void

Generates the key.

비공개 메소드들

메소드 설명
GetKeyParameters ( ) : KeyParameter
GetMode ( ) : Func

메소드 상세

AesAeadKey() 공개 메소드

Initializes a new instance of the AesAeadKey class.
public AesAeadKey ( ) : System
리턴 System

Dispose() 보호된 메소드

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

GenerateKey() 보호된 메소드

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

GetAuthSigningStream() 공개 메소드

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

GetAuthVerifyingStream() 공개 메소드

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

GetDecryptingStream() 공개 메소드

Gets the decrypting stream.
public GetDecryptingStream ( Stream output ) : FinishingStream
output Stream The output.
리턴 Keyczar.Crypto.Streams.FinishingStream

GetEncryptingStream() 공개 메소드

Gets the encrypting stream.
public GetEncryptingStream ( Stream output ) : FinishingStream
output Stream The output.
리턴 Keyczar.Crypto.Streams.FinishingStream

GetFallbackKeyHash() 공개 메소드

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

GetKeyHash() 공개 메소드

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

프로퍼티 상세

GcmMode 공개적으로 정적으로 프로퍼티

The GCM mode
public static string GcmMode
리턴 string