java.security.spec
public class X509EncodedKeySpec extends EncodedKeySpec
Since: JDK 1.2
Constructor Summary | |
---|---|
X509EncodedKeySpec(byte[] encodedKey)
Constructs a new X509EncodedKeySpec with the specified encoded key. |
Method Summary | |
---|---|
byte[] | getEncoded()
Gets the encoded key in byte format. |
String | getFormat()
Returns the name of the key format used which is "X.509" |
Parameters: encodedKey A key to store, assumed to be "X.509"
UNKNOWN: the encoded key
Returns: a string representing the name