Name
Class javax.crypto.spec.SecretKeySpec
Synopsis
This class provides the specifications to key factories to translate secret keys.
Class Definition
public class javax.crypto.spec.SecretKeySpec extends java.lang.Object implements java.security.spec.KeySpec, javax.crypto.SecretKey { // Constructors public SecretKeySpec(byte[], String); public SecretKeySpec(byte[], int, int, String); // Instance Methods public boolean equals(Object); public String getAlgorithm( ); public byte[] getEncoded( ); public String getFormat( ); public int hashCode( ); }
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.