C# Class Granados.PKI.RSAUtil

Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
PKCS1PadType1 ( byte input, int len ) : BigInteger

Make encoded message (EM) as described in PKCS#1

PKCS1PadType2 ( byte input, int len, Rng rng ) : BigInteger

Make encoded message (EM) as described in PKCS#1

StripPKCS1Pad ( BigInteger input, int type ) : BigInteger

Extract an message from the encoded message (EM) described in PKCS#1

Method Details

PKCS1PadType1() public static méthode

Make encoded message (EM) as described in PKCS#1
public static PKCS1PadType1 ( byte input, int len ) : BigInteger
input byte input bytes
len int total byte length of the result
Résultat BigInteger

PKCS1PadType2() public static méthode

Make encoded message (EM) as described in PKCS#1
public static PKCS1PadType2 ( byte input, int len, Rng rng ) : BigInteger
input byte input bytes
len int total byte length of the result
rng Rng random number generator
Résultat BigInteger

StripPKCS1Pad() public static méthode

Extract an message from the encoded message (EM) described in PKCS#1
public static StripPKCS1Pad ( BigInteger input, int type ) : BigInteger
input BigInteger encoded message bits
type int type number (1 or 2)
Résultat BigInteger