C# Class SyrupPayJose.Jwe.JweSerializer

Inheritance: IJoseAction
显示文件 Open project: SKplanet/syruppay-csharp Class Usage Examples

Public Methods

Method Description
CompactDeserialization ( ) : string
CompactSerialization ( ) : string
GetAad ( ) : byte[]
GetHeader ( ) : JoseHeader
JweSerializer ( JoseHeader header, string payload, string key ) : System
JweSerializer ( String serialized, string key ) : System
SetUserEncryptionKey ( byte cek, byte iv ) : void

Method Details

CompactDeserialization() public method

public CompactDeserialization ( ) : string
return string

CompactSerialization() public method

public CompactSerialization ( ) : string
return string

GetAad() public method

public GetAad ( ) : byte[]
return byte[]

GetHeader() public method

public GetHeader ( ) : JoseHeader
return JoseHeader

JweSerializer() public method

public JweSerializer ( JoseHeader header, string payload, string key ) : System
header JoseHeader
payload string
key string
return System

JweSerializer() public method

public JweSerializer ( String serialized, string key ) : System
serialized String
key string
return System

SetUserEncryptionKey() public method

public SetUserEncryptionKey ( byte cek, byte iv ) : void
cek byte
iv byte
return void