You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




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