public class CertificateProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
alias |
protected java.lang.String |
cityOrLocality |
protected java.lang.String |
commonName |
protected java.lang.String |
countryCode |
protected java.lang.String |
keyStoreName |
protected java.lang.String |
organization |
protected java.lang.String |
organizationalUnit |
protected java.lang.String |
password |
protected java.lang.String |
path |
protected java.lang.String |
stateOrProvince |
protected java.lang.String |
validity |
Constructor and Description |
---|
CertificateProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Gets the alias.
|
java.lang.String |
getCityOrLocality()
Gets the city or locality.
|
java.lang.String |
getCommonName()
Gets the common name.
|
java.lang.String |
getCountryCode()
Gets the coutry code.
|
java.lang.String |
getKeyStoreName()
Gets the key store name.
|
java.lang.String |
getOrganization()
Gets the organization.
|
java.lang.String |
getOrganizationalUnit()
Gets the organizational unit.
|
java.lang.String |
getPassword()
Gets the password.
|
java.lang.String |
getPath()
Gets the path.
|
java.lang.String |
getStateOrProvince()
Gets the state or province.
|
java.lang.String |
getValidity()
Gets the validity.
|
void |
parseFromCertificate(java.security.cert.X509Certificate cert) |
void |
setAlias(java.lang.String value)
Sets the alias.
|
void |
setCityOrLocality(java.lang.String value)
Sets the city or locality.
|
void |
setCommonName(java.lang.String value)
Sets the common name.
|
void |
setCountryCode(java.lang.String value)
Sets the coutry code.
|
void |
setKeyStoreName(java.lang.String value)
Sets the key store name.
|
void |
setOrganization(java.lang.String value)
Sets the organization.
|
void |
setOrganizationalUnit(java.lang.String value)
Sets the organizational unit.
|
void |
setPassword(java.lang.String value)
Sets the password.
|
void |
setPath(java.lang.String value)
Sets the path.
|
void |
setStateOrProvince(java.lang.String value)
Sets the state or province.
|
void |
setValidity(java.lang.String validity)
Sets the validity.
|
protected java.lang.String keyStoreName
protected java.lang.String password
protected java.lang.String alias
protected java.lang.String commonName
protected java.lang.String organization
protected java.lang.String organizationalUnit
protected java.lang.String cityOrLocality
protected java.lang.String stateOrProvince
protected java.lang.String countryCode
protected java.lang.String path
protected java.lang.String validity
public java.lang.String getKeyStoreName()
public void setKeyStoreName(java.lang.String value)
value
- the new key store namepublic java.lang.String getPassword()
public void setPassword(java.lang.String value)
value
- the new passwordpublic java.lang.String getAlias()
public void setAlias(java.lang.String value)
value
- the new aliaspublic java.lang.String getCommonName()
public void setCommonName(java.lang.String value)
value
- the new common namepublic java.lang.String getOrganization()
public void setOrganization(java.lang.String value)
value
- the new organizationpublic java.lang.String getOrganizationalUnit()
public void setOrganizationalUnit(java.lang.String value)
value
- the new organizational unitpublic java.lang.String getCityOrLocality()
public void setCityOrLocality(java.lang.String value)
value
- the new city or localitypublic java.lang.String getStateOrProvince()
public void setStateOrProvince(java.lang.String value)
value
- the new state or provincepublic java.lang.String getCountryCode()
public void setCountryCode(java.lang.String value)
value
- the new coutry codepublic java.lang.String getPath()
public void setPath(java.lang.String value)
value
- the new pathpublic java.lang.String getValidity()
public void setValidity(java.lang.String validity)
validity
- the new validitypublic void parseFromCertificate(java.security.cert.X509Certificate cert)