Package org.xipki.ocsp.server.store
Class IssuerEntry
- java.lang.Object
-
- org.xipki.ocsp.server.store.IssuerEntry
-
public class IssuerEntry extends Object
Issuer entry.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description IssuerEntry(int id, org.xipki.security.X509Cert cert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xipki.security.X509CertgetCert()intgetCrlId()byte[]getEncodedHash(org.xipki.security.HashAlgo hashAlgo)intgetId()InstantgetNotBefore()org.xipki.security.CertRevocationInfogetRevocationInfo()booleanmatchHash(org.xipki.ocsp.api.RequestIssuer reqIssuer)voidsetCrlId(int crlId)voidsetRevocationInfo(Instant revocationTime)
-
-
-
Constructor Detail
-
IssuerEntry
public IssuerEntry(int id, org.xipki.security.X509Cert cert) throws CertificateEncodingException- Throws:
CertificateEncodingException
-
-
Method Detail
-
getId
public int getId()
-
getEncodedHash
public byte[] getEncodedHash(org.xipki.security.HashAlgo hashAlgo)
-
matchHash
public boolean matchHash(org.xipki.ocsp.api.RequestIssuer reqIssuer)
-
setRevocationInfo
public void setRevocationInfo(Instant revocationTime)
-
getRevocationInfo
public org.xipki.security.CertRevocationInfo getRevocationInfo()
-
getCrlId
public int getCrlId()
-
setCrlId
public void setCrlId(int crlId)
-
getNotBefore
public Instant getNotBefore()
-
getCert
public org.xipki.security.X509Cert getCert()
-
-