Interface EncryptionParameters
- All Superinterfaces:
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)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Representation of parameters for RSA OAEP key transport algorithm(s). -
Method Summary
Modifier and TypeMethodDescriptionReturns the data encryption algorithm that should be used when encrypting the sign message for a given Identity Provider.Returns the key transport encryption algorithm that should be used when encrypting the sign message for a given Identity Provider.IfgetKeyTransportEncryptionAlgorithm()
returnshttp://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
orhttp://www.w3.org/2009/xmlenc11#rsa-oaep
, this method returns the RSA OAEP parameters to use.
-
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
EncryptionParameters.RSAOAEPParameters getRsaOaepParameters()IfgetKeyTransportEncryptionAlgorithm()
returnshttp://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
orhttp://www.w3.org/2009/xmlenc11#rsa-oaep
, this method returns the RSA OAEP parameters to use.- Returns:
- the RSA OAEP parameters, or
null
ifgetDataEncryptionAlgorithm()
does not return a RSA OEAP algorithm
-