public class ResourceCertificates extends Object implements CertificateProvider
Constructor and Description |
---|
ResourceCertificates(String certificatesList) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias(int index)
Returns the alias of the certificate at the specified index.
|
InputStream |
getCertificate(int index)
Returns the content of the certificate at the specified index.
|
int |
getSize()
Returns the number of certificates provides by this provider.
|
public ResourceCertificates(@Nullable String certificatesList) throws IOException
IOException
public String getAlias(int index)
CertificateProvider
getAlias
in interface CertificateProvider
index
- index of the certificate to return@Nullable public InputStream getCertificate(int index)
CertificateProvider
getCertificate
in interface CertificateProvider
index
- index of the certificate to returnpublic int getSize()
CertificateProvider
getSize
in interface CertificateProvider