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