Package org.xipki.ca.gateway
Class GatewayUtil
- java.lang.Object
-
- org.xipki.ca.gateway.GatewayUtil
-
public class GatewayUtil extends Object
Gateway Utilities.- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description GatewayUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidauditLogPciEvent(org.slf4j.Logger log, String type, boolean successful, String eventType)static voidcloseAudits(org.slf4j.Logger log)static voidlogAuditEvent(org.slf4j.Logger log, org.xipki.audit.AuditEvent event)static voidlogAuditEvent(org.slf4j.Logger log, org.xipki.audit.PciAuditEvent event)static org.bouncycastle.asn1.pkcs.CertificationRequestparseCsrInRequest(byte[] csrBytes)static org.bouncycastle.asn1.pkcs.CertificationRequestparseCsrInRequest(org.bouncycastle.asn1.ASN1Encodable p10Asn1)static booleanverifyCsr(org.bouncycastle.asn1.pkcs.CertificationRequest csr, org.xipki.security.SecurityFactory securityFactory, PopControl popControl)
-
-
-
Method Detail
-
logAuditEvent
public static void logAuditEvent(org.slf4j.Logger log, org.xipki.audit.AuditEvent event)
-
logAuditEvent
public static void logAuditEvent(org.slf4j.Logger log, org.xipki.audit.PciAuditEvent event)
-
verifyCsr
public static boolean verifyCsr(org.bouncycastle.asn1.pkcs.CertificationRequest csr, org.xipki.security.SecurityFactory securityFactory, PopControl popControl)
-
auditLogPciEvent
public static void auditLogPciEvent(org.slf4j.Logger log, String type, boolean successful, String eventType)
-
closeAudits
public static void closeAudits(org.slf4j.Logger log)
-
parseCsrInRequest
public static org.bouncycastle.asn1.pkcs.CertificationRequest parseCsrInRequest(byte[] csrBytes) throws org.xipki.pki.OperationException- Throws:
org.xipki.pki.OperationException
-
parseCsrInRequest
public static org.bouncycastle.asn1.pkcs.CertificationRequest parseCsrInRequest(org.bouncycastle.asn1.ASN1Encodable p10Asn1) throws org.xipki.pki.OperationException- Throws:
org.xipki.pki.OperationException
-
-