Interface EncryptionParameters

All Superinterfaces:
Serializable

public interface EncryptionParameters extends Serializable
Representation of encryption algorithms to be used when encrypting a sign message for an Identity Provider.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • getDataEncryptionAlgorithm

      String getDataEncryptionAlgorithm()
      Returns the data encryption algorithm that should be used when encrypting the sign message for a given Identity Provider.
      Returns:
      the data encryption algorithm
    • getKeyTransportEncryptionAlgorithm

      String getKeyTransportEncryptionAlgorithm()
      Returns the key transport encryption algorithm that should be used when encrypting the sign message for a given Identity Provider.
      Returns:
      the key transport encryption algorithm
    • getRsaOaepParameters

      If getKeyTransportEncryptionAlgorithm() returns http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p or http://www.w3.org/2009/xmlenc11#rsa-oaep, this method returns the RSA OAEP parameters to use.
      Returns:
      the RSA OAEP parameters, or null if getDataEncryptionAlgorithm() does not return a RSA OEAP algorithm