public class PemKeyPair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
certificate
The encoded certificate.
|
protected java.lang.String |
key
The encoded key.
|
Constructor and Description |
---|
PemKeyPair() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals method.
|
java.lang.String |
getCertificate()
Gets encoded certificate.
|
java.lang.String |
getKey()
Gets encoded key.
|
int |
hashCode()
Hashcode.
|
void |
setCertificate(java.lang.String certificate)
Sets encoded certificate.
|
void |
setKey(java.lang.String key)
Sets encoded key.
|
java.lang.String |
toString()
toString()
|
protected java.lang.String certificate
protected java.lang.String key
public java.lang.String getCertificate()
public void setCertificate(java.lang.String certificate)
certificate
- Encoded certificate.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- Encoded key.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object