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

상속: IJweEncryption
파일 보기 프로젝트 열기: SKplanet/syruppay-csharp

보호된 프로퍼티들

프로퍼티 타입 설명
ivLength int
keyLength int

공개 메소드들

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

메소드 상세

ContentEncryption() 공개 메소드

public ContentEncryption ( int keyLength, int ivLength ) : System.Security.Cryptography
keyLength int
ivLength int
리턴 System.Security.Cryptography

EncryptionAndSign() 공개 추상적인 메소드

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

GenerateRandomIv() 공개 메소드

public GenerateRandomIv ( ) : byte[]
리턴 byte[]

VerifyAndDecryption() 공개 추상적인 메소드

public abstract 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 abstract getContentEncryptionKeyGenerator ( ) : ContentEncryptKeyGenerator
리턴 ContentEncryptKeyGenerator

프로퍼티 상세

ivLength 보호되어 있는 프로퍼티

protected int ivLength
리턴 int

keyLength 보호되어 있는 프로퍼티

protected int keyLength
리턴 int