public class OpensslTruststoreHelper extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | CERT_REGEXP | 
| Constructor and Description | 
|---|
| OpensslTruststoreHelper() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | getFileHash(String path,
           String regexp) | 
| static Collection<File> | getFilesWithRegexp(String regexp,
                  File directory) | 
| static RDN[] | getNormalizedRDNs(X500Principal name) | 
| static String | getNsFile(String certLocation,
         String suffix) | 
| static String | getOpenSSLCAHash(X500Principal name,
                boolean openssl1Mode) | 
public static final String CERT_REGEXP
public static String getNsFile(String certLocation, String suffix)
certLocation - certificate locationsuffix - either '.namespaces' or '.signing_policy' (other will work but rather doesn't make sense)public static Collection<File> getFilesWithRegexp(String regexp, File directory)
public static String getOpenSSLCAHash(X500Principal name, boolean openssl1Mode)
public static RDN[] getNormalizedRDNs(X500Principal name) throws IOException
IOExceptionCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.