|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CertificateStore
Management interface for dealing with a specific Certificate Store
Method Summary | |
---|---|
boolean |
containsCertificate(BigInteger sNo)
This method checks if a certificate with a given serial number exists in the store. |
Certificate |
getCACertificate()
This method returns the CA's certificate stored in the store. |
Certificate |
getCertificate(BigInteger sNo)
This method returns a Certificate with a given serial number (if it exists in the store) |
String |
getCertificateBase64Text(BigInteger sNo)
This method returns base64 encoded certificate with a given serial number (if it exists in the store) |
BigInteger |
getHighestSerialNumber()
This method returns the highest certificate serial number in the store. |
BigInteger |
getNextSerialNumber()
This method returns the 'highest certificate serial number plus ONE' and increments the highest serial number in the store. |
boolean |
setCertificateChallenge(BigInteger sNo,
String challenge)
This method stores the challenge phrase against the specified certificate serial number |
boolean |
storeCACertificate(Certificate cert)
This method stores the CA's certificate in the store. |
void |
storeCertificate(Certificate cert)
This method stores a given certificate. |
Method Detail |
---|
void storeCertificate(Certificate cert) throws CertificateStoreException
cert
- Certificate to be stored
CertificateStoreException
Certificate getCertificate(BigInteger sNo) throws CertificateStoreException
sNo
- Serial Number of the certificate to be retrieved.
CertificateStoreException
String getCertificateBase64Text(BigInteger sNo) throws CertificateStoreException
sNo
- Serial Number of the certificate to be retrieved.
CertificateStoreException
BigInteger getHighestSerialNumber() throws CertificateStoreException
CertificateStoreException
BigInteger getNextSerialNumber() throws CertificateStoreException
CertificateStoreException
boolean containsCertificate(BigInteger sNo)
sNo
- Serial number of the certificate to be checkedboolean storeCACertificate(Certificate cert) throws CertificateStoreException
cert
- CA's certificate
CertificateStoreException
Certificate getCACertificate() throws CertificateStoreException
CertificateStoreException
boolean setCertificateChallenge(BigInteger sNo, String challenge) throws CertificateStoreException
sNo
- Serial number of the certificatechallenge
- Challenge phrase
CertificateStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |