Example usage for java.security Provider stringPropertyNames

List of usage examples for java.security Provider stringPropertyNames

Introduction

In this page you can find the example usage for java.security Provider stringPropertyNames.

Prototype

public Set<String> stringPropertyNames() 

Source Link

Document

Returns an unmodifiable set of keys from this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

Usage

From source file:com.zacwolf.commons.crypto._CRYPTOfactory.java

public static void dumpCiphers() {
    for (Provider provider : Security.getProviders()) {
        System.out.println(provider.getName());
        for (String key : provider.stringPropertyNames())
            System.out.println("\t" + key + "\t" + provider.getProperty(key));
    }/*from  w  w w. j a  v  a 2s  .c om*/
}