public class PrivateKey extends Object
| Constructor and Description |
|---|
PrivateKey(byte[] keyBytes) |
PrivateKey(String pem) |
| Modifier and Type | Method and Description |
|---|---|
PrivateKey |
getKey() |
byte[] |
getKeyBytes() |
String |
getPEM() |
public PrivateKey(byte[] keyBytes)
throws InvalidKeySpecException,
NoSuchAlgorithmException
public PrivateKey(String pem) throws IOException
IOExceptionpublic PrivateKey getKey()
public byte[] getKeyBytes()
public String getPEM()
Copyright © 2018. All rights reserved.