/**@class javax.crypto.spec.SecretKeySpec implements java.security.spec.KeySpec implements javax.crypto.SecretKey @extends java.lang.Object This class specifies a secret key in a provider-independent fashion. <p>It can be used to construct a <code>SecretKey</code> from a byte array, without having to go through a (provider-based) <code>SecretKeyFactory</code>. <p>This class is only useful for raw secret keys that can be represented as a byte array and have no key parameters associated with them, e.g., DES or Triple DES keys. @author Jan Luehe @see javax.crypto.SecretKey @see javax.crypto.SecretKeyFactory @since 1.4 */ var SecretKeySpec = { /**Returns the name of the algorithm associated with this secret key. @return {String} the secret key algorithm. */ getAlgorithm : function( ) {}, /**Returns the name of the encoding format for this secret key. @return {String} the string "RAW". */ getFormat : function( ) {}, /**Returns the key material of this secret key. @return {Number} the key material. Returns a new array each time this method is called. */ getEncoded : function( ) {}, /**Calculates a hash code value for the object. Objects that are equal will also have the same hashcode. */ hashCode : function( ) {}, /**Tests for equality between the specified object and this object. Two SecretKeySpec objects are considered equal if they are both SecretKey instances which have the same case-insensitive algorithm name and key encoding. @param {Object {Object}} obj the object to test for equality with this object. @return {Boolean} true if the objects are considered equal, false if <code>obj</code> is null or otherwise. */ equals : function( ) {}, };