public class PKCS8EncodedKeySpec extends EncodedKeySpec
| Constructor and Description |
|---|
PKCS8EncodedKeySpec(byte[] encodedKey)
Creates a new
PKCS8EncodedKeySpec with the specified encoded key
bytes. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
Returns a copy of the encoded key bytes.
|
String |
getFormat()
Returns the name of the encoding format of this encoded key
specification.
|
public PKCS8EncodedKeySpec(byte[] encodedKey)
PKCS8EncodedKeySpec with the specified encoded key
bytes.encodedKey - the encoded key bytes.public byte[] getEncoded()
getEncoded in class EncodedKeySpecpublic final String getFormat()
getFormat in class EncodedKeySpec