Example usage for java.security.cert CRLReason AA_COMPROMISE

List of usage examples for java.security.cert CRLReason AA_COMPROMISE

Introduction

In this page you can find the example usage for java.security.cert CRLReason AA_COMPROMISE.

Prototype

CRLReason AA_COMPROMISE

To view the source code for java.security.cert CRLReason AA_COMPROMISE.

Click Source Link

Document

This reason indicates that it is known or suspected that the certificate subject's private key has been compromised.

Usage

From source file:org.wildfly.security.x500.cert.acme.AcmeClientSpiTest.java

@Test
public void testRevokeCertificateWithReason() throws Exception {
    server = setupTestRevokeCertificateWithReason();
    AcmeAccount account = populateBasicAccount(ACCOUNT_1);
    revokeCertificate(account, CRLReason.AA_COMPROMISE);
}