public class ResourceCertificates extends java.lang.Object implements CertificateProvider
Constructor and Description |
---|
ResourceCertificates(java.lang.String certificatesList) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias(int index)
Returns the alias of the certificate at the specified index.
|
java.io.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 java.lang.String certificatesList) throws java.io.IOException
java.io.IOException
public int getSize()
CertificateProvider
getSize
in interface CertificateProvider
@Nullable public java.io.InputStream getCertificate(int index)
CertificateProvider
getCertificate
in interface CertificateProvider
index
- index of the certificate to returnpublic java.lang.String getAlias(int index)
CertificateProvider
getAlias
in interface CertificateProvider
index
- index of the certificate to return