org.mozilla.jss.crypto
Class SecretKeyFacade

java.lang.Object
  extended by org.mozilla.jss.crypto.SecretKeyFacade
All Implemented Interfaces:
java.io.Serializable, java.security.Key, javax.crypto.SecretKey

public class SecretKeyFacade
extends java.lang.Object
implements javax.crypto.SecretKey

See Also:
Serialized Form

Field Summary
 SymmetricKey key
           
 
Fields inherited from interface javax.crypto.SecretKey
serialVersionUID
 
Constructor Summary
SecretKeyFacade(SymmetricKey symk)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public SymmetricKey key
Constructor Detail

SecretKeyFacade

public SecretKeyFacade(SymmetricKey symk)
Method Detail

getAlgorithm

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

getEncoded

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

getFormat

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