1 18 package org.apache.geronimo.management.geronimo; 19 20 import java.math.BigInteger ; 21 import java.security.cert.Certificate ; 22 23 28 public interface CertificateStore { 29 34 public void storeCertificate(Certificate cert) throws CertificateStoreException; 35 36 41 public Certificate getCertificate(BigInteger sNo) throws CertificateStoreException; 42 43 48 public String getCertificateBase64Text(BigInteger sNo) throws CertificateStoreException; 49 50 53 public BigInteger getHighestSerialNumber() throws CertificateStoreException; 54 55 59 public BigInteger getNextSerialNumber() throws CertificateStoreException; 60 61 66 public boolean containsCertificate(BigInteger sNo); 67 68 72 public boolean storeCACertificate(Certificate cert) throws CertificateStoreException; 73 74 77 public Certificate getCACertificate() throws CertificateStoreException; 78 79 84 public boolean setCertificateChallenge(BigInteger sNo, String challenge) throws CertificateStoreException; 85 } 86 | Popular Tags |