A wrapper class for a store of certificates, its metadata (password, location) and related functionality that is
used to verify credentials, a trust store
The trust store should only contain certificates for the "most-trusted" Certificate Authorities (the store should not
contain Intermediates"). These certificates are referred to as "Trust Anchors".
Imports one certificate as a trust anchor into this store.
Note that this method explicitly allows one to add invalid certificates.
As this store is intended to contain certificates for "most-trusted" / root Certificate Authorities, this method
will fail when the PEM representation contains more than one certificate.
alias - the name (key) under which the certificate is to be stored in the store (cannot be null or empty).
pemRepresentation - The PEM representation of the certificate to add (cannot be null or empty).