Skip navigation links

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

E10697-03


oracle.security.crypto.jce.crypto
Class PhaosJCEKeyTranslator

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


public final class PhaosJCEKeyTranslator
extends java.lang.Object

Stateless class that contains utility methods to be used by developers wishing to import and export regular Phaos Security Engine keys to and from the JCE framework.


Constructor Summary
PhaosJCEKeyTranslator()
           

 

Method Summary
static oracle.security.crypto.core.DHPrivateKey jceDHPrivateKeyToPhaos(javax.crypto.interfaces.DHPrivateKey jceKey)
           
static javax.crypto.interfaces.DHPrivateKey jceDHPrivateKeyToPhaosJCE(javax.crypto.interfaces.DHPrivateKey jceKey)
          Translates a javax.crypto.interfaces.DHPrivateKey to a Phaos Provider private key.
static oracle.security.crypto.core.DHPublicKey jceDHPublicKeyToPhaos(javax.crypto.interfaces.DHPublicKey jceKey)
           
static javax.crypto.interfaces.DHPublicKey jceDHPublicKeyToPhaosJCE(javax.crypto.interfaces.DHPublicKey jceKey)
          Translates a javax.crypto.interfaces.DHPublicKey to a Phaos Provider public key.
static oracle.security.crypto.core.DSAPrivateKey jceDSAPrivateKeyToPhaos(java.security.interfaces.DSAPrivateKey jceKey)
           
static java.security.interfaces.DSAPrivateKey jceDSAPrivateKeyToPhaosJCE(java.security.interfaces.DSAPrivateKey jceKey)
          Translates a java.security.interfaces.DSAPrivateKey to a Phaos private key.
static oracle.security.crypto.core.DSAPublicKey jceDSAPublicKeyToPhaos(java.security.interfaces.DSAPublicKey jceKey)
           
static java.security.interfaces.DSAPublicKey jceDSAPublicKeyToPhaosJCE(java.security.interfaces.DSAPublicKey jceKey)
          Translates a java.security.interfaces.DSAPublicKey to a Phaos public key.
static oracle.security.crypto.core.PrivateKey jcePrivateKeyToPhaos(java.security.PrivateKey jceKey)
          Translates a JCE Private Key to a Phaos Security Engine private key.
static oracle.security.crypto.core.PublicKey jcePublicKeyToPhaos(java.security.PublicKey jceKey)
          Translates a JCE Public Key to a Phaos Security Engine public key.
static oracle.security.crypto.core.RSAPrivateKey jceRSAPrivateKeyToPhaos(java.security.interfaces.RSAPrivateKey jceKey)
           
static java.security.interfaces.RSAPrivateKey jceRSAPrivateKeyToPhaosJCE(java.security.interfaces.RSAPrivateKey jceKey)
          Translates a java.security.interfaces.RSAPrivateCrtKey to a Phaos private key.
static oracle.security.crypto.core.RSAPublicKey jceRSAPublicKeyToPhaos(java.security.interfaces.RSAPublicKey jceKey)
           
static java.security.interfaces.RSAPublicKey jceRSAPublicKeyToPhaosJCE(java.security.interfaces.RSAPublicKey jceKey)
          Translates a java.security.interfaces.RSAPublicKey to a Phaos Security Engine public key.
static oracle.security.crypto.core.SymmetricKey jceSecretKeyToPhaos(javax.crypto.SecretKey jceKey)
           
static javax.crypto.SecretKey jceSecretKeyToPhaosJCE(javax.crypto.SecretKey jceKey)
          Translates a javax.crypto.interfaces.SecretKey to a Phaos Provider secret key.
static DHPrivateKeyImpl phaosDHPrivateKeyToJCE(oracle.security.crypto.core.DHPrivateKey phaosKey)
          Translates a Phaos Security Engine DH private key to a oracle.security.crypto.jce.crypto.DHPrivateKeyImpl.
static DHPublicKeyImpl phaosDHPublicKeyToJCE(oracle.security.crypto.core.DHPublicKey phaosKey)
          Translates a Phaos Security Engine DH public key to a oracle.security.crypto.jce.crypto.DHPublicKeyImpl.
static DSAPrivateKeyImpl phaosDSAPrivateKeyToJCE(oracle.security.crypto.core.DSAPrivateKey phaosKey)
          Translates a Phaos Security Engine DSA private key to a oracle.security.crypto.jce.provider.DSAPrivateCrtKeyImpl.
static DSAPublicKeyImpl phaosDSAPublicKeyToJCE(oracle.security.crypto.core.DSAPublicKey phaosKey)
          Translates a Phaos Security Engine DSA public key to a oracle.security.crypto.jce.provider.DSAPublicKeyImpl.
static java.security.PrivateKey phaosPrivateKeyToJCE(oracle.security.crypto.core.PrivateKey phaosKey)
          Translates a Phaos Security Engine private key to a JCE Private Key.
static java.security.PublicKey phaosPublicKeyToJCE(oracle.security.crypto.core.PublicKey phaosKey)
          Translates a Phaos Security Engine public key to a JCE Public Key.
static RSAPrivateCrtKeyImpl phaosRSAPrivateKeyToJCE(oracle.security.crypto.core.RSAPrivateKey phaosKey)
          Translates a Phaos Security Engine RSA private key to a oracle.security.crypto.jce.provider.RSAPrivateCrtKeyImpl.
static RSAPublicKeyImpl phaosRSAPublicKeyToJCE(oracle.security.crypto.core.RSAPublicKey phaosKey)
          Translates a Phaos Security Engine RSA public key to a oracle.security.crypto.jce.provider.RSAPublicKeyImpl.

 

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

 

Constructor Detail

PhaosJCEKeyTranslator

public PhaosJCEKeyTranslator()

Method Detail

jceDSAPrivateKeyToPhaosJCE

public static java.security.interfaces.DSAPrivateKey jceDSAPrivateKeyToPhaosJCE(java.security.interfaces.DSAPrivateKey jceKey)
Translates a java.security.interfaces.DSAPrivateKey to a Phaos private key.
Parameters:
jceKey - is the DSA JCE framework private key instance to translate to a Phaos Security Engine private key.
Returns:
a Phaos private key

jceDSAPrivateKeyToPhaos

public static oracle.security.crypto.core.DSAPrivateKey jceDSAPrivateKeyToPhaos(java.security.interfaces.DSAPrivateKey jceKey)

jceDSAPublicKeyToPhaosJCE

public static java.security.interfaces.DSAPublicKey jceDSAPublicKeyToPhaosJCE(java.security.interfaces.DSAPublicKey jceKey)
Translates a java.security.interfaces.DSAPublicKey to a Phaos public key.
Parameters:
jceKey - is the DSA JCE framework public key instance to translate to a Phaos Security Engine public key.
Returns:
a Phaos public key

jceDSAPublicKeyToPhaos

public static oracle.security.crypto.core.DSAPublicKey jceDSAPublicKeyToPhaos(java.security.interfaces.DSAPublicKey jceKey)

jceRSAPrivateKeyToPhaosJCE

public static java.security.interfaces.RSAPrivateKey jceRSAPrivateKeyToPhaosJCE(java.security.interfaces.RSAPrivateKey jceKey)
Translates a java.security.interfaces.RSAPrivateCrtKey to a Phaos private key.
Parameters:
jceKey - is the RSA JCE framework private key instance to translate to a Phaos Security Engine private key.
Returns:
a Phaos private key

jceRSAPrivateKeyToPhaos

public static oracle.security.crypto.core.RSAPrivateKey jceRSAPrivateKeyToPhaos(java.security.interfaces.RSAPrivateKey jceKey)

jceRSAPublicKeyToPhaosJCE

public static java.security.interfaces.RSAPublicKey jceRSAPublicKeyToPhaosJCE(java.security.interfaces.RSAPublicKey jceKey)
Translates a java.security.interfaces.RSAPublicKey to a Phaos Security Engine public key.
Parameters:
jceKey - is the RSA JCE framework public key instance to translate to a Phaos Security Engine public key.
Returns:
a Phaos Security Engine public key

jceRSAPublicKeyToPhaos

public static oracle.security.crypto.core.RSAPublicKey jceRSAPublicKeyToPhaos(java.security.interfaces.RSAPublicKey jceKey)

jceDHPrivateKeyToPhaosJCE

public static javax.crypto.interfaces.DHPrivateKey jceDHPrivateKeyToPhaosJCE(javax.crypto.interfaces.DHPrivateKey jceKey)
Translates a javax.crypto.interfaces.DHPrivateKey to a Phaos Provider private key.
Parameters:
jceKey - is the DH JCE framework private key instance to translate to a Phaos Security Engine private key.

jceDHPrivateKeyToPhaos

public static oracle.security.crypto.core.DHPrivateKey jceDHPrivateKeyToPhaos(javax.crypto.interfaces.DHPrivateKey jceKey)

jceDHPublicKeyToPhaosJCE

public static javax.crypto.interfaces.DHPublicKey jceDHPublicKeyToPhaosJCE(javax.crypto.interfaces.DHPublicKey jceKey)
Translates a javax.crypto.interfaces.DHPublicKey to a Phaos Provider public key.
Parameters:
jceKey - is the DH JCE framework public key instance to translate to a Phaos Security Engine public key.

jceDHPublicKeyToPhaos

public static oracle.security.crypto.core.DHPublicKey jceDHPublicKeyToPhaos(javax.crypto.interfaces.DHPublicKey jceKey)

jcePrivateKeyToPhaos

public static oracle.security.crypto.core.PrivateKey jcePrivateKeyToPhaos(java.security.PrivateKey jceKey)
Translates a JCE Private Key to a Phaos Security Engine private key.
Parameters:
jceKey - is the JCE private key instance to translate to the Phaos framework.
Returns:
a Phaos private key.

jcePublicKeyToPhaos

public static oracle.security.crypto.core.PublicKey jcePublicKeyToPhaos(java.security.PublicKey jceKey)
Translates a JCE Public Key to a Phaos Security Engine public key.
Parameters:
jceKey - is the JCE public key instance to translate to the Phaos framework.
Returns:
a Phaos public key.

jceSecretKeyToPhaosJCE

public static javax.crypto.SecretKey jceSecretKeyToPhaosJCE(javax.crypto.SecretKey jceKey)
Translates a javax.crypto.interfaces.SecretKey to a Phaos Provider secret key.
Parameters:
jceKey - is the secret JCE framework public key instance to translate to a Phaos Security Engine secret key.

jceSecretKeyToPhaos

public static oracle.security.crypto.core.SymmetricKey jceSecretKeyToPhaos(javax.crypto.SecretKey jceKey)

phaosDSAPrivateKeyToJCE

public static DSAPrivateKeyImpl phaosDSAPrivateKeyToJCE(oracle.security.crypto.core.DSAPrivateKey phaosKey)
Translates a Phaos Security Engine DSA private key to a oracle.security.crypto.jce.provider.DSAPrivateCrtKeyImpl.
Parameters:
phaosKey - is the Phaos Security Engine DSA private key instance to translate to the JCE framework.
Returns:
a JCE framework private key.

phaosDSAPublicKeyToJCE

public static DSAPublicKeyImpl phaosDSAPublicKeyToJCE(oracle.security.crypto.core.DSAPublicKey phaosKey)
Translates a Phaos Security Engine DSA public key to a oracle.security.crypto.jce.provider.DSAPublicKeyImpl.
Parameters:
phaosKey - is the Phaos Security Engine DSA public key instance to translate to the JCE framework.
Returns:
a JCE framework public key.

phaosRSAPrivateKeyToJCE

public static RSAPrivateCrtKeyImpl phaosRSAPrivateKeyToJCE(oracle.security.crypto.core.RSAPrivateKey phaosKey)
Translates a Phaos Security Engine RSA private key to a oracle.security.crypto.jce.provider.RSAPrivateCrtKeyImpl.
Parameters:
phaosKey - is the Phaos Security Engine RSA private key instance to translate to the JCE framework.
Returns:
a JCE framework private key.

phaosRSAPublicKeyToJCE

public static RSAPublicKeyImpl phaosRSAPublicKeyToJCE(oracle.security.crypto.core.RSAPublicKey phaosKey)
Translates a Phaos Security Engine RSA public key to a oracle.security.crypto.jce.provider.RSAPublicKeyImpl.
Parameters:
phaosKey - is the Phaos Security Engine RSA public key instance to translate to the JCE framework.
Returns:
a JCE framework public key.

phaosDHPrivateKeyToJCE

public static DHPrivateKeyImpl phaosDHPrivateKeyToJCE(oracle.security.crypto.core.DHPrivateKey phaosKey)
Translates a Phaos Security Engine DH private key to a oracle.security.crypto.jce.crypto.DHPrivateKeyImpl.
Parameters:
phaosKey - is the Phaos Security Engine DH private key instance to translate to the JCE framework.
Returns:
a JCE framework private key.

phaosDHPublicKeyToJCE

public static DHPublicKeyImpl phaosDHPublicKeyToJCE(oracle.security.crypto.core.DHPublicKey phaosKey)
Translates a Phaos Security Engine DH public key to a oracle.security.crypto.jce.crypto.DHPublicKeyImpl.
Parameters:
phaosKey - is the Phaos Security Engine DH public key instance to translate to the JCE framework.
Returns:
a JCE framework public key.

phaosPrivateKeyToJCE

public static java.security.PrivateKey phaosPrivateKeyToJCE(oracle.security.crypto.core.PrivateKey phaosKey)
Translates a Phaos Security Engine private key to a JCE Private Key.
Parameters:
phaosKey - is the Phaos Security Engine private key instance to translate to the JCE framework.
Returns:
a JCE framework private key.

phaosPublicKeyToJCE

public static java.security.PublicKey phaosPublicKeyToJCE(oracle.security.crypto.core.PublicKey phaosKey)
Translates a Phaos Security Engine public key to a JCE Public Key.
Parameters:
phaosKey - is the Phaos Security Engine public key instance to translate to the JCE framework.
Returns:
a JCE framework public key.

Skip navigation links

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

E10697-03


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