Package org.xipki.ca.server
Class X509RevokerModule
- java.lang.Object
-
- org.xipki.ca.server.X509CaModule
-
- org.xipki.ca.server.X509RevokerModule
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class X509RevokerModule extends X509CaModule implements Closeable
X509CA revoker module.- Author:
- Lijun Liao (xipki)
-
-
Field Summary
-
Fields inherited from class org.xipki.ca.server.X509CaModule
caCert, caIdent, caInfo, encodedCaCertChain
-
-
Constructor Summary
Constructors Constructor Description X509RevokerModule(CaManagerImpl caManager, CaInfo caInfo, CertStore certstore, org.xipki.ca.server.X509PublisherModule publisherModule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidrevokeCa(org.xipki.ca.api.mgmt.RequestorInfo requestor, org.xipki.security.CertRevocationInfo revocationInfo)org.xipki.ca.api.mgmt.CertWithRevocationInforevokeCert(BigInteger serialNumber, org.xipki.security.CrlReason reason, Instant invalidityTime, org.xipki.audit.AuditEvent event)voidunrevokeCa(org.xipki.ca.api.mgmt.RequestorInfo requestor)org.xipki.ca.api.CertWithDbIdunsuspendCert(BigInteger serialNumber, org.xipki.audit.AuditEvent event)-
Methods inherited from class org.xipki.ca.server.X509CaModule
auditService, finish, newAuditEvent, setEventStatus, verifySignature
-
-
-
-
Constructor Detail
-
X509RevokerModule
public X509RevokerModule(CaManagerImpl caManager, CaInfo caInfo, CertStore certstore, org.xipki.ca.server.X509PublisherModule publisherModule)
-
-
Method Detail
-
revokeCert
public org.xipki.ca.api.mgmt.CertWithRevocationInfo revokeCert(BigInteger serialNumber, org.xipki.security.CrlReason reason, Instant invalidityTime, org.xipki.audit.AuditEvent event) throws org.xipki.util.exception.OperationException
- Throws:
org.xipki.util.exception.OperationException
-
unsuspendCert
public org.xipki.ca.api.CertWithDbId unsuspendCert(BigInteger serialNumber, org.xipki.audit.AuditEvent event) throws org.xipki.util.exception.OperationException
- Throws:
org.xipki.util.exception.OperationException
-
revokeCa
public void revokeCa(org.xipki.ca.api.mgmt.RequestorInfo requestor, org.xipki.security.CertRevocationInfo revocationInfo) throws org.xipki.util.exception.OperationException- Throws:
org.xipki.util.exception.OperationException
-
unrevokeCa
public void unrevokeCa(org.xipki.ca.api.mgmt.RequestorInfo requestor) throws org.xipki.util.exception.OperationException- Throws:
org.xipki.util.exception.OperationException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-