public abstract class EncodedKeySpec extends java.lang.Object implements KeySpec
| Constructor and Description |
|---|
EncodedKeySpec(byte[] encodedKey)
Constructs a new EncodedKeySpec with the specified encoded key.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
Gets the encoded key in byte format.
|
abstract java.lang.String |
getFormat()
Returns the name of the key format used.
|
public EncodedKeySpec(byte[] encodedKey)
encodedKey - A key to storepublic byte[] getEncoded()
public abstract java.lang.String getFormat()