你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RsaSignature 类
- java.
lang. Object - Algorithm
- SignatureAlgorithm
- AsymmetricSignatureAlgorithm
- com.
microsoft. azure. keyvault. cryptography. algorithms. RsaSignature
- com.
public class RsaSignature extends AsymmetricSignatureAlgorithm
构造函数摘要
构造函数 | 说明 | |
---|---|---|
RsaSignature(String name) |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
abstract ISignature |
createSignatureTransform(KeyPair keyPair) |
byte [] | EMSA_PKCS1_V1_5_ENCODE(byte[] m, int emLen, String algorithm) |
byte [] | EMSA_PKCS1_V1_5_ENCODE_HASH(byte[] h, int emLen, String algorithm) |
int | getOctetLength(int bits) |
byte [] | I2OSP(BigInteger x, int xLen) |
BigInteger | OS2IP(byte[] x) |
BigInteger | RSASP1(RSAPrivateKey K, BigInteger m) |
BigInteger | RSAVP1(RSAPublicKey K, BigInteger s) |
继承成员
构造函数详细信息
RsaSignature
protected RsaSignature(String name)
Parameters:
方法详细信息
createSignatureTransform
public abstract ISignatureTransform createSignatureTransform(KeyPair keyPair)
Parameters:
EMSA_PKCS1_V1_5_ENCODE
protected byte [] EMSA_PKCS1_V1_5_ENCODE(byte[] m, int emLen, String algorithm)
Parameters:
EMSA_PKCS1_V1_5_ENCODE_HASH
protected byte [] EMSA_PKCS1_V1_5_ENCODE_HASH(byte[] h, int emLen, String algorithm)
Parameters:
getOctetLength
protected int getOctetLength(int bits)
Parameters:
I2OSP
protected byte [] I2OSP(BigInteger x, int xLen)
Parameters:
OS2IP
protected BigInteger OS2IP(byte[] x)
Parameters:
RSASP1
protected BigInteger RSASP1(RSAPrivateKey K, BigInteger m)
Parameters:
RSAVP1
protected BigInteger RSAVP1(RSAPublicKey K, BigInteger s)
Parameters:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈