public class PKCS1Util extends Object
| Constructor and Description |
|---|
PKCS1Util() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
EMSA_PKCS1_v1_5_encoding(byte[] encodedDigestInfo,
int modulusBigLength) |
static byte[] |
EMSA_PKCS1_v1_5_encoding(byte[] hashValue,
int modulusBigLength,
HashAlgo hashAlgo) |
static byte[] |
EMSA_PSS_ENCODE(HashAlgo contentDigest,
byte[] hashValue,
HashAlgo mgfDigest,
int saltLen,
int modulusBitLength,
SecureRandom random) |
static byte[] |
getDigestPkcsPrefix(HashAlgo hashAlgo) |
static byte[] |
RSAES_OAEP_DECODE(byte[] EM,
int modulusBigLength,
HashAlgo hashAlgo) |
static byte[] |
RSAES_OAEP_ENCODE(byte[] M,
int modulusBigLength,
HashAlgo hashAlgo,
SecureRandom random) |
public static byte[] EMSA_PKCS1_v1_5_encoding(byte[] hashValue,
int modulusBigLength,
HashAlgo hashAlgo)
throws XiSecurityException
XiSecurityExceptionpublic static byte[] EMSA_PKCS1_v1_5_encoding(byte[] encodedDigestInfo,
int modulusBigLength)
throws XiSecurityException
XiSecurityExceptionpublic static byte[] EMSA_PSS_ENCODE(HashAlgo contentDigest, byte[] hashValue, HashAlgo mgfDigest, int saltLen, int modulusBitLength, SecureRandom random) throws XiSecurityException
XiSecurityExceptionpublic static byte[] getDigestPkcsPrefix(HashAlgo hashAlgo)
public static byte[] RSAES_OAEP_ENCODE(byte[] M,
int modulusBigLength,
HashAlgo hashAlgo,
SecureRandom random)
public static byte[] RSAES_OAEP_DECODE(byte[] EM,
int modulusBigLength,
HashAlgo hashAlgo)
Copyright © 2021. All rights reserved.