@Override public boolean isTrusted(){
  return sources.contains(CertificateSourceType.TRUSTED_LIST) || sources.contains(CertificateSourceType.TRUSTED_STORE);
}

@ Override public boolean isTrusted ( ) { return sources . contains ( CertificateSourceType . TRUSTED_LIST ) || sources . contains ( CertificateSourceType . TRUSTED_STORE ) ; }
checks if the certificate is provided by the trusted source .
