Package org.projecthusky.xua.crypt
Interface SignCryptModule
- All Known Implementing Classes:
SignCryptModuleImpl
public interface SignCryptModule
Interface describing the methods of the sign and crypt module.
Interface welches die Methoden des sign und crypt modules beschreibt.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPki
(KeyStore keyStore, String aKeyStorePassword, KeyStore trustStore, String aTrustStorePassword) Method to set the key and truststore and the corresponding passwords. Methode um den key und trust store und deren Passwörter zu setzen.void
signArtifactResolve
(ArtifactResolve artifactResolve, String aSigningAlias) void
signAuthnRequest
(AuthnRequest aAuthnRequest, String aSigningAlias) Method to sign an AuthnRequest. Methode um einen AuthnRequest zu signieren.
-
Method Details
-
setPki
void setPki(KeyStore keyStore, String aKeyStorePassword, KeyStore trustStore, String aTrustStorePassword) Method to set the key and truststore and the corresponding passwords.Methode um den key und trust store und deren Passwörter zu setzen.- Parameters:
keyStore
-the keystore to be set.der Keystore der gesetzt werden soll.aKeyStorePassword
-the password of the keystore to be set.das Passwort zum KeystoretrustStore
-the truststore to be set.der Truststore der gesetzt werden soll.aTrustStorePassword
-the password of the truststore to be set.das Passwort zum Truststore
-
signArtifactResolve
void signArtifactResolve(ArtifactResolve artifactResolve, String aSigningAlias) throws SigningException - Throws:
SigningException
-
signAuthnRequest
Method to sign an AuthnRequest.Methode um einen AuthnRequest zu signieren.- Parameters:
aAuthnRequest
-the AuthnRequest to be signedder AuthnRequest der signiert werden sollaSigningAlias
-the alias of the key in the keystore to be used for signingder Alias des Keys aus dem Keystore welcher zum signieren gebraucht werden soll- Throws:
SigningException
-will be thrown when an error occures signing the AuthnRequestwird geworfen wenn ein Fehler beim Signieren des Authnrequests auftritt
-