Package psiprobe.model.certificates
Class Cert
- java.lang.Object
-
- psiprobe.model.certificates.Cert
-
- All Implemented Interfaces:
Serializable
public class Cert extends Object implements Serializable
The Class Cert.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private String
alias
The alias.private String
issuerDistinguishedName
The issuer distinguished name.private Date
notAfter
The not after.private Date
notBefore
The not before.private static long
serialVersionUID
The Constant serialVersionUID.private String
subjectDistinguishedName
The subject distinguished name.
-
Constructor Summary
Constructors Constructor Description Cert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
Gets the alias.String
getIssuerDistinguishedName()
Gets the issuer distinguished name.Date
getNotAfter()
Gets the not after.Date
getNotBefore()
Gets the not before.String
getSubjectDistinguishedName()
Gets the subject distinguished name.void
setAlias(String alias)
Sets the alias.void
setIssuerDistinguishedName(String issuerDistinguishedName)
Sets the issuer distinguished name.void
setNotAfter(Date notAfter)
Sets the not after.void
setNotBefore(Date notBefore)
Sets the not before.void
setSubjectDistinguishedName(String distinguishedName)
Sets the subject distinguished name.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The Constant serialVersionUID.- See Also:
- Constant Field Values
-
alias
private String alias
The alias.
-
subjectDistinguishedName
private String subjectDistinguishedName
The subject distinguished name.
-
issuerDistinguishedName
private String issuerDistinguishedName
The issuer distinguished name.
-
notBefore
private Date notBefore
The not before.
-
notAfter
private Date notAfter
The not after.
-
-
Method Detail
-
getSubjectDistinguishedName
public String getSubjectDistinguishedName()
Gets the subject distinguished name.- Returns:
- the subject distinguished name
-
setSubjectDistinguishedName
public void setSubjectDistinguishedName(String distinguishedName)
Sets the subject distinguished name.- Parameters:
distinguishedName
- the new subject distinguished name
-
getNotBefore
public Date getNotBefore()
Gets the not before.- Returns:
- the not before
-
setNotBefore
public void setNotBefore(Date notBefore)
Sets the not before.- Parameters:
notBefore
- the new not before
-
getNotAfter
public Date getNotAfter()
Gets the not after.- Returns:
- the not after
-
setNotAfter
public void setNotAfter(Date notAfter)
Sets the not after.- Parameters:
notAfter
- the new not after
-
getIssuerDistinguishedName
public String getIssuerDistinguishedName()
Gets the issuer distinguished name.- Returns:
- the issuer distinguished name
-
setIssuerDistinguishedName
public void setIssuerDistinguishedName(String issuerDistinguishedName)
Sets the issuer distinguished name.- Parameters:
issuerDistinguishedName
- the new issuer distinguished name
-
getAlias
public String getAlias()
Gets the alias.- Returns:
- the alias
-
setAlias
public void setAlias(String alias)
Sets the alias.- Parameters:
alias
- the new alias
-
-