C# 클래스 EncryptedType.EncryptedTypeAttribute

상속: InstanceLevelAspect, IEncryptedType
파일 보기 프로젝트 열기: jkuemerle/EncryptedType

보호된 프로퍼티들

프로퍼티 타입 설명
_sharedKeyCache KeyInfo>.IDictionary
_sharedKeyCacheLock string
_sharedKeyServer IKeyServer
_sharedKeys string>.IDictionary

Private Properties

프로퍼티 타입 설명
AddHMAC string
ClearText object
ComputeHMAC string
ComputeHMAC string
Decrypt string
Decrypt string
Decrypt string
Encrypt string
Encrypt string
Encrypt string
Encrypt string
GetEncryptedValues string>.IDictionary
GetEncryptionKeys string>.IDictionary
VerifyHMAC bool

공개 메소드들

메소드 설명
GetKeyInfo ( string KeyName, byte IV, SymmetricAlgorithm Crypter ) : KeyInfo
RuntimeInitializeInstance ( ) : void

비공개 메소드들

메소드 설명
AddHMAC ( string Data, Func Integrity ) : string
ClearText ( string PropertyName ) : object
ComputeHMAC ( byte Data, byte Key ) : string
ComputeHMAC ( string Data, Func Integrity ) : string
Decrypt ( byte encrypted, string mac, byte iv, byte key, byte secret, SymmetricAlgorithm crypter ) : string
Decrypt ( string Data, string KeyName, Func IntegrityFunction ) : string
Decrypt ( string Data, string mac, SymmetricMetaData metadata ) : string
Encrypt ( byte val, SymmetricMetaData metadata ) : string
Encrypt ( byte val, byte iv, byte key, byte secret, SymmetricAlgorithm crypter ) : string
Encrypt ( string Data, string KeyName, Func IntegrityFunction ) : string
Encrypt ( string val, string iv, string key, string secret, SymmetricAlgorithm crypter ) : string
GetEncryptedValues ( ) : string>.IDictionary
GetEncryptionKeys ( ) : string>.IDictionary
VerifyHMAC ( string Data, Func Integrity ) : bool

메소드 상세

GetKeyInfo() 공개 메소드

public GetKeyInfo ( string KeyName, byte IV, SymmetricAlgorithm Crypter ) : KeyInfo
KeyName string
IV byte
Crypter System.Security.Cryptography.SymmetricAlgorithm
리턴 KeyInfo

RuntimeInitializeInstance() 공개 메소드

public RuntimeInitializeInstance ( ) : void
리턴 void

프로퍼티 상세

_sharedKeyCache 보호되어 있는 정적으로 프로퍼티

protected static IDictionary _sharedKeyCache
리턴 KeyInfo>.IDictionary

_sharedKeyCacheLock 보호되어 있는 정적으로 프로퍼티

protected static string _sharedKeyCacheLock
리턴 string

_sharedKeyServer 보호되어 있는 정적으로 프로퍼티

protected static IKeyServer _sharedKeyServer
리턴 IKeyServer

_sharedKeys 보호되어 있는 정적으로 프로퍼티

protected static IDictionary _sharedKeys
리턴 string>.IDictionary