Method | Description | |
---|---|---|
AesEncryptionWithHmacSha ( int keyLength, int ivLength ) : System | ||
Decryption ( byte key, byte iv, byte src ) : byte[] | ||
Encryption ( byte key, byte iv, byte src ) : byte[] | ||
EncryptionAndSign ( byte key, byte iv, byte src, byte aad ) : |
||
GetAl ( int len ) : byte[] | ||
MakeSignParts ( byte iv, byte aad, byte src ) : byte[] | ||
Sign ( byte key, byte iv, byte aad, byte src ) : byte[] | ||
Verify ( byte key, byte iv, byte aad, byte src, byte expected ) : void | ||
VerifyAndDecryption ( byte key, byte iv, byte src, byte aad, byte expected ) : byte[] | ||
getContentEncryptionKeyGenerator ( ) : |
public AesEncryptionWithHmacSha ( int keyLength, int ivLength ) : System | ||
keyLength | int | |
ivLength | int | |
return | System |
public Decryption ( byte key, byte iv, byte src ) : byte[] | ||
key | byte | |
iv | byte | |
src | byte | |
return | byte[] |
public Encryption ( byte key, byte iv, byte src ) : byte[] | ||
key | byte | |
iv | byte | |
src | byte | |
return | byte[] |
public EncryptionAndSign ( byte key, byte iv, byte src, byte aad ) : |
||
key | byte | |
iv | byte | |
src | byte | |
aad | byte | |
return |
public MakeSignParts ( byte iv, byte aad, byte src ) : byte[] | ||
iv | byte | |
aad | byte | |
src | byte | |
return | byte[] |
public Sign ( byte key, byte iv, byte aad, byte src ) : byte[] | ||
key | byte | |
iv | byte | |
aad | byte | |
src | byte | |
return | byte[] |
public Verify ( byte key, byte iv, byte aad, byte src, byte expected ) : void | ||
key | byte | |
iv | byte | |
aad | byte | |
src | byte | |
expected | byte | |
return | void |
public VerifyAndDecryption ( byte key, byte iv, byte src, byte aad, byte expected ) : byte[] | ||
key | byte | |
iv | byte | |
src | byte | |
aad | byte | |
expected | byte | |
return | byte[] |
public getContentEncryptionKeyGenerator ( ) : |
||
return |