|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.spec.EncodedKeySpec
java.security.spec.X509EncodedKeySpec
public class X509EncodedKeySpec
X.509 Encoded Key Specification class which is used to store "X.509" byte encoded keys.
| 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" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509EncodedKeySpec(byte[] encodedKey)
encodedKey - A key to store, assumed to be "X.509"| Method Detail |
|---|
public byte[] getEncoded()
getEncoded in class EncodedKeySpecpublic final String getFormat()
getFormat in class EncodedKeySpec
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||