Interface SessionKey

All Superinterfaces:
ActorBearing, MustUnderstandBearing, SAMLObject, XMLObject
All Known Implementing Classes:
SessionKeyImpl

public interface SessionKey extends SAMLObject, MustUnderstandBearing, ActorBearing
SAML-EC GSS-API SessionKey element.
  • Field Details

    • DEFAULT_ELEMENT_LOCAL_NAME

      @Nonnull @NotEmpty static final String DEFAULT_ELEMENT_LOCAL_NAME
      Element local name.
      See Also:
    • DEFAULT_ELEMENT_NAME

      @Nonnull static final QName DEFAULT_ELEMENT_NAME
      Default element name.
    • TYPE_LOCAL_NAME

      @Nonnull @NotEmpty static final String TYPE_LOCAL_NAME
      Local name of the XSI type.
      See Also:
    • TYPE_NAME

      @Nonnull static final QName TYPE_NAME
      QName of the XSI type.
    • ALGORITHM_ATTRIB_NAME

      @Nonnull @NotEmpty static final String ALGORITHM_ATTRIB_NAME
      Algorithm attribute name.
      See Also:
  • Method Details

    • getAlgorithm

      @Nullable String getAlgorithm()
      Get the session key derivation algorithm.
      Returns:
      the algorithm used to derive the session key
    • setAlgorithm

      void setAlgorithm(@Nullable String newAlgorithm)
      Set the session key derivation algorithm.
      Parameters:
      newAlgorithm - the algorithm used to derive the session key
    • getEncTypes

      @Nonnull List<EncType> getEncTypes()
      Get the session key encryption typed.
      Returns:
      the encryption types of the session key
    • getKeyInfo

      @Nullable KeyInfo getKeyInfo()
      Get the KeyInfo object that describes the session key.
      Returns:
      the KeyInfo object that describes the session key
    • setKeyInfo

      void setKeyInfo(@Nullable KeyInfo newKeyInfo)
      Set the KeyInfo object that describes the session key.
      Parameters:
      newKeyInfo - the KeyInfo object that describes the session key