public class KeyPairCredential extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
KeyPairCredential()
Create an empty
KeyPairCredential. |
protected |
KeyPairCredential(String publicKey,
String privateKey)
Create a
KeyPairCredential from the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrivateKey()
Get the value of the private key.
|
String |
getPublicKey()
Get the value of the public key.
|
protected KeyPairCredential()
KeyPairCredential. Intended to be used internally for deserialization of responses.protected KeyPairCredential(String publicKey, String privateKey)
KeyPairCredential from the provided parameters. Intended for internal use.publicKey - the public keyprivateKey - the private key