|
|||||||||
| 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.PKCS8EncodedKeySpec
public class PKCS8EncodedKeySpec
PKCS8 Encoded Key Specification class which is used to store "PKCS#8" byte encoded keys.
| Constructor Summary | |
|---|---|
PKCS8EncodedKeySpec(byte[] encodedKey)
Constructs a new PKCS8EncodedKeySpec 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 "PKCS#8" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PKCS8EncodedKeySpec(byte[] encodedKey)
encodedKey - A key to store, assumed to be "PKCS#8"| 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 | ||||||||