CertStoreSpi — CertStore 서비스 공급자 인터페이스 클래스

CertStoreSpi — CertStore 서비스 공급자 인터페이스 클래스

CertStore 클래스의 서비스 공급자 인터페이스(SPI)예요. 모든 CertStore 구현은 이 클래스를 상속하고 CertStoreParameters 단일 인자를 갖는 생성자와 모든 메서드를 구현해야 해요.

출처: Java API Reference

본문

public CertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException

유일한 생성자예요.

public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) throws CertStoreException

지정된 셀렉터와 일치하는 CertificateCollection을 반환해요. 일치하는 인증서가 없으면 빈 컬렉션을 반환해요.

public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector) throws CertStoreException

지정된 셀렉터와 일치하는 CRLCollection을 반환해요. 일치하는 CRL이 없으면 빈 컬렉션을 반환해요.

더 알아보기 (Learn more)