APIdia Launch Partner
Top Description Constructors Methods
sun.security.validator

public final Class TrustStoreUtil

extends Object
Class Inheritance
Imports
java.util.Set, .HashSet, .Collections, .Enumeration, java.security.KeyStore, .KeyStoreException, java.security.cert.X509Certificate, .Certificate

Collection of static utility methods related to trust anchor KeyStores.
Author
Andreas Sterbenz

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Set<X509Certificate>
getTrustedCerts(KeyStore ks)

Return an unmodifiable Set with all trusted X509Certificates contained in the specified KeyStore.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TrustStoreUtilback to summary
private TrustStoreUtil()

Method Detail

getTrustedCertsback to summary
public static Set<X509Certificate> getTrustedCerts(KeyStore ks)

Return an unmodifiable Set with all trusted X509Certificates contained in the specified KeyStore.