Keystore

keystore:getCertificate

Returns the trusted certificate, stored in a truststore, that corresponds to the certificate's alias.

Input parameters for keystore:getCertificate

trustStoreAlias: String Alias for the truststore containing the certificate.

certAlias: String Alias identifying a particular trusted certificatewithin a truststore.

Output parameters for keystore:getCertificate

certificate: byte[] A byte array containing the trusted certificate.

getTrustedCertificates

Returns the trusted certificates located in a specified truststore.

Input parameters for getTrustedCertificates

trustStoreAlias: String Name of the truststore alias.

Output parameters for getTrustedCertificates

certificates: byte[] Trusted certificates, as a list of byte arrays.