|
|
|
@ -29,6 +29,7 @@ public interface CertificateDAO {
|
|
|
|
|
/**
|
|
|
|
|
* This can be used to store a certificate in the database, where it will be stored against the serial number
|
|
|
|
|
* of the certificate.
|
|
|
|
|
*
|
|
|
|
|
* @param byteArrayInputStream Holds the certificate.
|
|
|
|
|
* @param serialNumber Serial number of the certificate.
|
|
|
|
|
* @throws CertificateManagementDAOException
|
|
|
|
@ -38,6 +39,7 @@ public interface CertificateDAO {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Usage is to obtain a certificate stored in the database by providing the serial number.
|
|
|
|
|
*
|
|
|
|
|
* @param serialNumber Serial number of the certificate.
|
|
|
|
|
* @return representation of the certificate.
|
|
|
|
|
* @throws CertificateManagementDAOException
|
|
|
|
|