Class RSAPrivateKeyImpl
- java.lang.Object
-
- sun.security.pkcs.PKCS8Key
-
- com.fortanix.sdkms.jce.provider.keys.asym.rsa.RSAPrivateKeyImpl
-
- All Implemented Interfaces:
SdkmsCipherKey,SdkmsKey,Serializable,RSAKey,RSAPrivateCrtKey,RSAPrivateKey,Key,PrivateKey,Destroyable
public class RSAPrivateKeyImpl extends sun.security.pkcs.PKCS8Key implements RSAPrivateKey, SdkmsCipherKey, RSAPrivateCrtKey
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface java.security.interfaces.RSAPrivateCrtKey
serialVersionUID
-
Fields inherited from interface java.security.interfaces.RSAPrivateKey
serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description RSAPrivateKeyImpl(com.fortanix.sdkms.v1.model.KeyObject keyObject)RSAPrivateKeyImpl(com.fortanix.sdkms.v1.model.SobjectDescriptor descriptor)RSAPrivateKeyImpl(String keyId, Integer keySize, BigInteger modulus, String transientKey)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()BigIntegergetCrtCoefficient()byte[]getEncoded()StringgetFormat()com.fortanix.sdkms.v1.model.SobjectDescriptorgetKeyDescriptor()IntegergetKeySize()BigIntegergetModulus()BigIntegergetPrimeExponentP()BigIntegergetPrimeExponentQ()BigIntegergetPrimeP()BigIntegergetPrimeQ()BigIntegergetPrivateExponent()BigIntegergetPublicExponent()-
Methods inherited from class sun.security.pkcs.PKCS8Key
decode, decode, encode, encode, equals, getAlgorithmId, hashCode, parse, parseKey, parseKeyBits, writeReplace
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-
-
-
Constructor Detail
-
RSAPrivateKeyImpl
public RSAPrivateKeyImpl(com.fortanix.sdkms.v1.model.SobjectDescriptor descriptor)
-
RSAPrivateKeyImpl
public RSAPrivateKeyImpl(com.fortanix.sdkms.v1.model.KeyObject keyObject)
-
RSAPrivateKeyImpl
@Deprecated public RSAPrivateKeyImpl(String keyId, Integer keySize, BigInteger modulus, String transientKey)
Deprecated.
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey- Overrides:
getAlgorithmin classsun.security.pkcs.PKCS8Key
-
getModulus
public BigInteger getModulus()
- Specified by:
getModulusin interfaceRSAKey
-
getFormat
public String getFormat()
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey- Overrides:
getEncodedin classsun.security.pkcs.PKCS8Key
-
getKeySize
public Integer getKeySize()
- Specified by:
getKeySizein interfaceSdkmsCipherKey
-
getKeyDescriptor
public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
- Specified by:
getKeyDescriptorin interfaceSdkmsKey
-
getPublicExponent
public BigInteger getPublicExponent()
- Specified by:
getPublicExponentin interfaceRSAPrivateCrtKey
-
getPrivateExponent
public BigInteger getPrivateExponent()
- Specified by:
getPrivateExponentin interfaceRSAPrivateKey
-
getPrimeP
public BigInteger getPrimeP()
- Specified by:
getPrimePin interfaceRSAPrivateCrtKey
-
getPrimeQ
public BigInteger getPrimeQ()
- Specified by:
getPrimeQin interfaceRSAPrivateCrtKey
-
getPrimeExponentP
public BigInteger getPrimeExponentP()
- Specified by:
getPrimeExponentPin interfaceRSAPrivateCrtKey
-
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
- Specified by:
getPrimeExponentQin interfaceRSAPrivateCrtKey
-
getCrtCoefficient
public BigInteger getCrtCoefficient()
- Specified by:
getCrtCoefficientin interfaceRSAPrivateCrtKey
-
-