Class RsaSignature
- java.lang.Object
-
- com.microsoft.azure.keyvault.cryptography.Algorithm
-
- com.microsoft.azure.keyvault.cryptography.SignatureAlgorithm
-
- com.microsoft.azure.keyvault.cryptography.AsymmetricSignatureAlgorithm
-
- com.microsoft.azure.keyvault.cryptography.algorithms.RsaSignature
-
- Direct Known Subclasses:
Rs256
public abstract class RsaSignature extends AsymmetricSignatureAlgorithm
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RsaSignature(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ISignatureTransform
createSignatureTransform(KeyPair keyPair)
protected byte[]
EMSA_PKCS1_V1_5_ENCODE(byte[] m, int emLen, String algorithm)
protected byte[]
EMSA_PKCS1_V1_5_ENCODE_HASH(byte[] h, 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 key, BigInteger m)
protected BigInteger
RSAVP1(RSAPublicKey key, BigInteger s)
-
-
-
Constructor Detail
-
RsaSignature
protected RsaSignature(String name)
-
-
Method Detail
-
getOctetLength
protected int getOctetLength(int bits)
-
OS2IP
protected BigInteger OS2IP(byte[] x)
-
I2OSP
protected byte[] I2OSP(BigInteger x, int xLen)
-
RSASP1
protected BigInteger RSASP1(RSAPrivateKey key, BigInteger m)
-
RSAVP1
protected BigInteger RSAVP1(RSAPublicKey key, BigInteger s)
-
EMSA_PKCS1_V1_5_ENCODE
protected byte[] EMSA_PKCS1_V1_5_ENCODE(byte[] m, int emLen, String algorithm) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
EMSA_PKCS1_V1_5_ENCODE_HASH
protected byte[] EMSA_PKCS1_V1_5_ENCODE_HASH(byte[] h, int emLen, String algorithm) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
createSignatureTransform
public abstract ISignatureTransform createSignatureTransform(KeyPair keyPair)
-
-