Class PKCS12CertificateCollectionImpl
java.lang.Object
br.ufsc.labsec.signature.repository.PKCS12IdentityService.PKCS12CertificateCollectionImpl
- All Implemented Interfaces:
CertificateCollectionCache
public class PKCS12CertificateCollectionImpl extends Object implements CertificateCollectionCache
-
Constructor Summary
Constructors Constructor Description PKCS12CertificateCollectionImpl(PKCS12Repository pkcs12Repository)
Construtor -
Method Summary
Modifier and Type Method Description void
addCertificates(Collection<X509Certificate> certificates)
void
addCertPath(CertPath certPath)
Optional<Certificate>
getCertificate(org.bouncycastle.util.Selector<Certificate> selector)
List<Certificate>
getCertificates(org.bouncycastle.util.Selector<Certificate> selector)
Optional<Certificate>
getIssuerCertificate(Object certificate)
-
Constructor Details
-
PKCS12CertificateCollectionImpl
Construtor- Parameters:
pkcs12Repository
- Repositório com certificados a ser carregado a coleção
-
-
Method Details
-
addCertificates
- Specified by:
addCertificates
in interfaceCertificateCollectionCache
-
getCertificate
- Specified by:
getCertificate
in interfaceCertificateCollectionCache
-
getCertificates
- Specified by:
getCertificates
in interfaceCertificateCollectionCache
-
getIssuerCertificate
- Specified by:
getIssuerCertificate
in interfaceCertificateCollectionCache
-
addCertPath
- Specified by:
addCertPath
in interfaceCertificateCollectionCache
-