|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.security.DefaultVerifier issrg.saml.util.SamlPKCHandler
public class SamlPKCHandler
Constructor Summary | |
---|---|
SamlPKCHandler()
Creates a new instance of SamlPKCHandler |
Method Summary | |
---|---|
PKCRepository |
getPKCRepository()
gets the repository that will be used to retrieve user's signature verification Public Key Certificates. |
java.security.cert.X509Certificate[] |
getRootCAs()
This method returns the array of PKCs of multiple roots of trust. |
java.security.cert.X509Certificate[] |
getSigningPKCs(java.security.Principal signer)
this method is used to get a set of valid signer's PKCs from the PKC repositories. |
void |
setPKCRepository(PKCRepository repository)
Sets the repository that will be used to retrieve user's signature verification Public Key Certificates. |
void |
setRootCAs(java.security.cert.X509Certificate[] pkcs)
This method sets multiple roots of trust by providing their X.509 PKCs. |
boolean |
signingPKCValidation(java.security.cert.X509Certificate x509)
this method is used to validate a signing PKC and a PKC chain. |
Methods inherited from class issrg.security.DefaultVerifier |
---|
getVerificationCertificates, setRootCA, setRootCA, setRootCAs, verify, verifyByRoot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SamlPKCHandler() throws SecurityException
SecurityException
Method Detail |
---|
public void setRootCAs(java.security.cert.X509Certificate[] pkcs)
setRootCAs
in class DefaultVerifier
pkcs
- - the Public Key Certificates of the CAspublic void setPKCRepository(PKCRepository repository)
setPKCRepository
in class DefaultVerifier
repository
- - the PKCRepository that can return the PKCs for a
given principalpublic java.security.cert.X509Certificate[] getRootCAs()
getRootCAs
in interface Verifier
getRootCAs
in class DefaultVerifier
public PKCRepository getPKCRepository()
getPKCRepository
in interface Verifier
getPKCRepository
in class DefaultVerifier
public boolean signingPKCValidation(java.security.cert.X509Certificate x509) throws SecurityException
x509
- is the given X509 certificate, which is used to sign ACs or assertions.
SecurityException
public java.security.cert.X509Certificate[] getSigningPKCs(java.security.Principal signer)
signer
- is identified by a Pricipal object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |