Skip navigation links

Oracle Fusion Middleware JCE Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10697-05


oracle.security.crypto.jce.crypto
Class RSAPrivateCrtKeyImpl

java.lang.Object
  extended by oracle.security.crypto.jce.crypto.RSAPrivateCrtKeyImpl

All Implemented Interfaces:
java.io.Serializable, java.security.interfaces.RSAKey, java.security.interfaces.RSAPrivateCrtKey, java.security.interfaces.RSAPrivateKey, java.security.Key, java.security.PrivateKey

public final class RSAPrivateCrtKeyImpl
extends java.lang.Object
implements java.security.interfaces.RSAPrivateCrtKey

An RSA private key.

RSA private keys are output in PKCS #8 PrivateKeyInfo format, and this is also the preferred format for input. However, for backwards compatibility reasons, the PKCS #1 RSAPrivateKey format is recognized for input as well.

See Also:
Serialized Form

Field Summary

 

Fields inherited from interface java.security.interfaces.RSAPrivateCrtKey
serialVersionUID

 

Constructor Summary
RSAPrivateCrtKeyImpl(oracle.security.crypto.core.RSAPrivateKey rsaPrivateKey)
           

 

Method Summary
 java.lang.String getAlgorithm()
           
 java.math.BigInteger getCrtCoefficient()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 java.math.BigInteger getModulus()
           
 java.math.BigInteger getPrimeExponentP()
           
 java.math.BigInteger getPrimeExponentQ()
           
 java.math.BigInteger getPrimeP()
           
 java.math.BigInteger getPrimeQ()
           
 java.math.BigInteger getPrivateExponent()
           
 java.math.BigInteger getPublicExponent()
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

RSAPrivateCrtKeyImpl

public RSAPrivateCrtKeyImpl(oracle.security.crypto.core.RSAPrivateKey rsaPrivateKey)

Method Detail

getModulus

public java.math.BigInteger getModulus()
Specified by:
getModulus in interface java.security.interfaces.RSAKey

getPrivateExponent

public java.math.BigInteger getPrivateExponent()
Specified by:
getPrivateExponent in interface java.security.interfaces.RSAPrivateKey

getCrtCoefficient

public java.math.BigInteger getCrtCoefficient()
Specified by:
getCrtCoefficient in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeExponentP

public java.math.BigInteger getPrimeExponentP()
Specified by:
getPrimeExponentP in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeExponentQ

public java.math.BigInteger getPrimeExponentQ()
Specified by:
getPrimeExponentQ in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeP

public java.math.BigInteger getPrimeP()
Specified by:
getPrimeP in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeQ

public java.math.BigInteger getPrimeQ()
Specified by:
getPrimeQ in interface java.security.interfaces.RSAPrivateCrtKey

getPublicExponent

public java.math.BigInteger getPublicExponent()
Specified by:
getPublicExponent in interface java.security.interfaces.RSAPrivateCrtKey

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware JCE Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10697-05


Copyright © 2005, 2013, Oracle. All rights reserved.