|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.solutions.identity.relyingparty.saml.IssuerCertificateUtil
public class IssuerCertificateUtil
Constructor Summary | |
---|---|
IssuerCertificateUtil()
|
Method Summary | |
---|---|
static boolean |
checkSystemStoree(java.security.cert.X509Certificate signedCert,
java.security.KeyStore trustStore,
java.security.KeyStore systemStore)
This method checks whether the certificate is present in the certificate store |
static boolean |
doBlackListCheck(java.util.List[] blackList,
java.security.cert.X509Certificate cert)
Performs the black list check |
static boolean |
doWhiteListCheck(java.util.List[] whiteList,
java.security.cert.X509Certificate cert)
Do a white list check |
static java.lang.String |
getCNOfSubject(java.security.cert.X509Certificate cert)
Retrieves the CN of the subject of the given Certificate |
static java.util.List |
getDNOfIssuer(java.lang.String inString)
Retrieves the DN Of Issuer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssuerCertificateUtil()
Method Detail |
---|
public static boolean checkSystemStoree(java.security.cert.X509Certificate signedCert, java.security.KeyStore trustStore, java.security.KeyStore systemStore) throws java.lang.Exception
java.lang.Exception
public static boolean doBlackListCheck(java.util.List[] blackList, java.security.cert.X509Certificate cert) throws RelyingPartyException
blackList
- Array of Lists. One Array element contains the Issuer's cert DNcert
-
RelyingPartyException
public static boolean doWhiteListCheck(java.util.List[] whiteList, java.security.cert.X509Certificate cert) throws RelyingPartyException
whiteList
- Array of Lists. One Array element contains the Issuer's cert DNcert
-
RelyingPartyException
public static java.lang.String getCNOfSubject(java.security.cert.X509Certificate cert)
cert
-
public static java.util.List getDNOfIssuer(java.lang.String inString)
inString
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |