1 7 8 15 16 package javax.crypto.spec; 17 18 import java.io.UnsupportedEncodingException; 19 import java.security.Key; 20 import java.security.spec.KeySpec; 21 import javax.crypto.SecretKey; 22 23 42 public class SecretKeySpec implements KeySpec, SecretKey 43 { 44 49 private byte[] key; 50 51 56 private String algorithm; 57 58 80 public SecretKeySpec(byte[] key, String algorithm) { } 81 82 119 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { } 120 121 126 public String getAlgorithm() { } 127 128 133 public String getFormat() { } 134 135 141 public byte[] getEncoded() { } 142 143 147 public int hashCode() { } 148 149 160 public boolean equals(Object obj) { } 161 } 162 | Popular Tags |