C# Class SyrupPayJose.Jwa.Enc.ContentEncryption

Inheritance: IJweEncryption
Afficher le fichier Open project: SKplanet/syruppay-csharp

Protected Properties

Свойство Type Description
ivLength int
keyLength int

Méthodes publiques

Méthode Description
ContentEncryption ( int keyLength, int ivLength ) : System.Security.Cryptography
EncryptionAndSign ( byte key, byte iv, byte src, byte aad ) : JweEncResult
GenerateRandomIv ( ) : byte[]
VerifyAndDecryption ( byte key, byte iv, byte src, byte aad, byte expected ) : byte[]
getContentEncryptionKeyGenerator ( ) : ContentEncryptKeyGenerator

Method Details

ContentEncryption() public méthode

public ContentEncryption ( int keyLength, int ivLength ) : System.Security.Cryptography
keyLength int
ivLength int
Résultat System.Security.Cryptography

EncryptionAndSign() public abstract méthode

public abstract EncryptionAndSign ( byte key, byte iv, byte src, byte aad ) : JweEncResult
key byte
iv byte
src byte
aad byte
Résultat JweEncResult

GenerateRandomIv() public méthode

public GenerateRandomIv ( ) : byte[]
Résultat byte[]

VerifyAndDecryption() public abstract méthode

public abstract VerifyAndDecryption ( byte key, byte iv, byte src, byte aad, byte expected ) : byte[]
key byte
iv byte
src byte
aad byte
expected byte
Résultat byte[]

getContentEncryptionKeyGenerator() public abstract méthode

public abstract getContentEncryptionKeyGenerator ( ) : ContentEncryptKeyGenerator
Résultat ContentEncryptKeyGenerator

Property Details

ivLength protected_oe property

protected int ivLength
Résultat int

keyLength protected_oe property

protected int keyLength
Résultat int