|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jnlp.security.SecurityUtil
public class SecurityUtil
Constructor Summary | |
---|---|
SecurityUtil()
|
Method Summary | |
---|---|
static boolean |
checkTrustedCertsFile()
Checks the user's home directory to see if the trusted.certs file exists. |
static java.security.KeyStore |
getCacertsKeyStore()
Returns the keystore associated with the JDK cacerts file, or null otherwise. |
static java.lang.String |
getCN(java.lang.String principal)
Extracts the CN field from a Certificate principal string. |
static java.security.KeyStore |
getSystemCertStore()
Returns the keystore associated with the system certs file, or null otherwise. |
static java.lang.String |
getTrustedCertsFilename()
|
static char[] |
getTrustedCertsPassword()
|
static java.security.KeyStore |
getUserKeyStore()
Returns the keystore associated with the user's trusted.certs file, or null otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityUtil()
Method Detail |
---|
public static java.lang.String getTrustedCertsFilename() throws java.lang.Exception
java.lang.Exception
public static char[] getTrustedCertsPassword()
public static java.lang.String getCN(java.lang.String principal)
public static boolean checkTrustedCertsFile() throws java.lang.Exception
java.lang.Exception
public static java.security.KeyStore getUserKeyStore() throws java.lang.Exception
java.lang.Exception
public static java.security.KeyStore getCacertsKeyStore() throws java.lang.Exception
java.lang.Exception
public static java.security.KeyStore getSystemCertStore() throws java.lang.Exception
java.lang.Exception
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |