Java java.security.cert TrustAnchor fields, constructors, methods, implement or subclass

Example usage for Java java.security.cert TrustAnchor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.security.cert TrustAnchor.

The text is from its open source code.

Constructor

TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints)
Creates an instance of TrustAnchor with the specified X509Certificate and optional name constraints, which are intended to be used as additional constraints when validating an X.509 certification path.

Method

X500PrincipalgetCA()
Returns the name of the most-trusted CA as an X500Principal.
PublicKeygetCAPublicKey()
Returns the public key of the most-trusted CA.
X509CertificategetTrustedCert()
Returns the most-trusted CA certificate.