Class EncryptionUtil

java.lang.Object
swiss.trustbroker.common.saml.util.EncryptionUtil

public class EncryptionUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.opensaml.saml.saml2.core.Assertion
    decryptAssertion(org.opensaml.saml.saml2.core.EncryptedAssertion encryptedAssertion, List<org.opensaml.security.credential.Credential> credentials, String responseId, String issuerId)
     
    static org.opensaml.saml.saml2.core.EncryptedAssertion
    encryptAssertion(org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.security.credential.Credential credential, String dataEncryptALg, String keyEncryptAlg, org.opensaml.saml.saml2.encryption.Encrypter.KeyPlacement keyReplacement, String issuer, boolean emitSki)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • encryptAssertion

      public static org.opensaml.saml.saml2.core.EncryptedAssertion encryptAssertion(org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.security.credential.Credential credential, String dataEncryptALg, String keyEncryptAlg, org.opensaml.saml.saml2.encryption.Encrypter.KeyPlacement keyReplacement, String issuer, boolean emitSki)
    • decryptAssertion

      public static org.opensaml.saml.saml2.core.Assertion decryptAssertion(org.opensaml.saml.saml2.core.EncryptedAssertion encryptedAssertion, List<org.opensaml.security.credential.Credential> credentials, String responseId, String issuerId)