C# 클래스 SyrupPayJose.Jwa.Enc.AesEncryptionWithHmacSha

상속: ContentEncryption
파일 보기 프로젝트 열기: SKplanet/syruppay-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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 ) : JweEncResult
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 ( ) : ContentEncryptKeyGenerator

메소드 상세

AesEncryptionWithHmacSha() 공개 메소드

public AesEncryptionWithHmacSha ( int keyLength, int ivLength ) : System
keyLength int
ivLength int
리턴 System

Decryption() 공개 메소드

public Decryption ( byte key, byte iv, byte src ) : byte[]
key byte
iv byte
src byte
리턴 byte[]

Encryption() 공개 메소드

public Encryption ( byte key, byte iv, byte src ) : byte[]
key byte
iv byte
src byte
리턴 byte[]

EncryptionAndSign() 공개 메소드

public EncryptionAndSign ( byte key, byte iv, byte src, byte aad ) : JweEncResult
key byte
iv byte
src byte
aad byte
리턴 JweEncResult

GetAl() 공개 메소드

public GetAl ( int len ) : byte[]
len int
리턴 byte[]

MakeSignParts() 공개 메소드

public MakeSignParts ( byte iv, byte aad, byte src ) : byte[]
iv byte
aad byte
src byte
리턴 byte[]

Sign() 공개 메소드

public Sign ( byte key, byte iv, byte aad, byte src ) : byte[]
key byte
iv byte
aad byte
src byte
리턴 byte[]

Verify() 공개 메소드

public Verify ( byte key, byte iv, byte aad, byte src, byte expected ) : void
key byte
iv byte
aad byte
src byte
expected byte
리턴 void

VerifyAndDecryption() 공개 메소드

public VerifyAndDecryption ( byte key, byte iv, byte src, byte aad, byte expected ) : byte[]
key byte
iv byte
src byte
aad byte
expected byte
리턴 byte[]

getContentEncryptionKeyGenerator() 공개 메소드

public getContentEncryptionKeyGenerator ( ) : ContentEncryptKeyGenerator
리턴 ContentEncryptKeyGenerator