The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages > java.security.cert  [9 examples] > Certification Paths  [4 examples]

e228. Listing All Available Certification Path Validation Algorithms

Retrieving the list of available certification path validation algorithms requires checking the services provided by all registered providers. The retrieved list of names can be used in creating a CertPathValidator object.
    // This method is implemented in e194 Listing All Available Cryptographic Services
    String[] names = getCryptoImpls("CertPathValidator");
An example of the output:
    PKIX

 Related Examples
e229. Creating a Certification Path
e230. Listing the Most-Trusted Certificate Authorities (CA) in a Key Store
e231. Validating a Certification Path

See also: Certificates   


© 2002 Addison-Wesley.