C# Class Jose.RsaKeyManagement

Inheritance: IKeyManagement
Exibir arquivo Open project: senzacionale/xamarin-jose-jwt

Public Methods

Method Description
RsaKeyManagement ( bool useRsaOaepPadding, bool useSha256 = false ) : System.Collections.Generic
Unwrap ( byte encryptedCek, object key, int cekSizeBits, object>.IDictionary header ) : byte[]
WrapNewKey ( int cekSizeBits, object key, object>.IDictionary header ) : byte[][]

Method Details

RsaKeyManagement() public method

public RsaKeyManagement ( bool useRsaOaepPadding, bool useSha256 = false ) : System.Collections.Generic
useRsaOaepPadding bool
useSha256 bool
return System.Collections.Generic

Unwrap() public method

public Unwrap ( byte encryptedCek, object key, int cekSizeBits, object>.IDictionary header ) : byte[]
encryptedCek byte
key object
cekSizeBits int
header object>.IDictionary
return byte[]

WrapNewKey() public method

public WrapNewKey ( int cekSizeBits, object key, object>.IDictionary header ) : byte[][]
cekSizeBits int
key object
header object>.IDictionary
return byte[][]