@Override public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[] {TestCertUtil.getCaCert()}; }
@Override public PrivateKey getPrivateKey(String alias) { return TestCertUtil.getProducer().key; }
@Override public X509Certificate[] getCertificateChain(String alias) { return new X509Certificate[] {TestCertUtil.getProducer().cert}; }
@Override public AuthKey getAuthKey() { PKCS12 consumer = TestCertUtil.getConsumer(); return new AuthKey(CertChain.create("EE", consumer.cert, null), consumer.key); }
private PrivateKey getOcspRequestKey() throws Exception { return TestCertUtil.getOcspSigner().key; }
private X509Certificate getOcspSignerCert() throws Exception { return TestCertUtil.getOcspSigner().cert; }