public abstract class RsaSignature extends AsymmetricSignatureAlgorithm
| Modifier | Constructor and Description |
|---|---|
protected |
RsaSignature(String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract ISignatureTransform |
createSignatureTransform(KeyPair keyPair) |
protected byte[] |
EMSA_PKCS1_V1_5_ENCODE_HASH(byte[] h,
int emLen,
String algorithm) |
protected byte[] |
EMSA_PKCS1_V1_5_ENCODE(byte[] m,
int emLen,
String algorithm) |
protected int |
getOctetLength(int bits) |
protected byte[] |
I2OSP(BigInteger x,
int xLen) |
protected BigInteger |
OS2IP(byte[] x) |
protected BigInteger |
RSASP1(RSAPrivateKey K,
BigInteger m) |
protected BigInteger |
RSAVP1(RSAPublicKey K,
BigInteger s) |
protected RsaSignature(String name)
protected int getOctetLength(int bits)
protected BigInteger OS2IP(byte[] x)
protected byte[] I2OSP(BigInteger x, int xLen)
protected BigInteger RSASP1(RSAPrivateKey K, BigInteger m)
protected BigInteger RSAVP1(RSAPublicKey K, BigInteger s)
protected byte[] EMSA_PKCS1_V1_5_ENCODE(byte[] m,
int emLen,
String algorithm)
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionprotected byte[] EMSA_PKCS1_V1_5_ENCODE_HASH(byte[] h,
int emLen,
String algorithm)
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic abstract ISignatureTransform createSignatureTransform(KeyPair keyPair)
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/