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 SecretKeyImpl

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

All Implemented Interfaces:
java.io.Serializable, java.security.Key, javax.crypto.SecretKey

public final class SecretKeyImpl
extends java.lang.Object
implements javax.crypto.SecretKey
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface javax.crypto.SecretKey
serialVersionUID

 

Constructor Summary
SecretKeyImpl(oracle.security.crypto.core.SymmetricKey key)
           
SecretKeyImpl(oracle.security.crypto.core.SymmetricKey key, java.lang.String alg)
           
SecretKeyImpl(oracle.security.crypto.core.SymmetricKey key, java.lang.String alg, java.lang.String format)
           

 

Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 int hashCode()
           

 

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

 

Constructor Detail

SecretKeyImpl

public SecretKeyImpl(oracle.security.crypto.core.SymmetricKey key)

SecretKeyImpl

public SecretKeyImpl(oracle.security.crypto.core.SymmetricKey key,
                     java.lang.String alg)

SecretKeyImpl

public SecretKeyImpl(oracle.security.crypto.core.SymmetricKey key,
                     java.lang.String alg,
                     java.lang.String format)

Method Detail

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode 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-03


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