public class EncryptionParameters extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
EncryptionParameters.Algorithm |
| Constructor and Description |
|---|
EncryptionParameters()
No args constructor for use in serialization
|
EncryptionParameters(EncryptionParameters.Algorithm algorithm,
String publicKeyString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
EncryptionParameters.Algorithm |
getAlgorithm()
This is the algorithm that needs to be used for generating the Key Factory instance
(Required)
|
String |
getPublicKeyString()
This is the ASN.1 encoded public key string
(Required)
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAlgorithm(EncryptionParameters.Algorithm algorithm)
This is the algorithm that needs to be used for generating the Key Factory instance
(Required)
|
void |
setPublicKeyString(String publicKeyString)
This is the ASN.1 encoded public key string
(Required)
|
String |
toString() |
public EncryptionParameters()
public EncryptionParameters(EncryptionParameters.Algorithm algorithm, String publicKeyString)
publicKeyString - algorithm - public EncryptionParameters.Algorithm getAlgorithm()
public void setAlgorithm(EncryptionParameters.Algorithm algorithm)
algorithm - The algorithmpublic String getPublicKeyString()
public void setPublicKeyString(String publicKeyString)
publicKeyString - The publicKeyStringCopyright © 2017. All rights reserved.