Class SecurityParametersContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public final class SecurityParametersContext
    extends BaseContext
    A context implementation for storing parameter instances for XML signature signing and validation, and XML encryption and decryption.
    • Constructor Detail

      • SecurityParametersContext

        public SecurityParametersContext()
    • Method Detail

      • getSignatureSigningParameters

        @Nullable
        public SignatureSigningParameters getSignatureSigningParameters()
        Get the parameters to use for XML signature signing operations.
        Returns:
        the parameters
      • setSignatureSigningParameters

        @Nonnull
        public SecurityParametersContext setSignatureSigningParameters​(@Nullable
                                                                       SignatureSigningParameters params)
        Set the parameters to use for XML signature signing operations.
        Parameters:
        params - the parameters
        Returns:
        this context
      • getSignatureValidationParameters

        @Nullable
        public SignatureValidationParameters getSignatureValidationParameters()
        Get the parameters to use for XML signature validation operations.
        Returns:
        the parameters
      • setSignatureValidationParameters

        @Nonnull
        public SecurityParametersContext setSignatureValidationParameters​(@Nullable
                                                                          SignatureValidationParameters params)
        Set the parameters to use for XML signature validation operations.
        Parameters:
        params - The signatureValidationParameters to set
        Returns:
        this context
      • getEncryptionParameters

        @Nullable
        public EncryptionParameters getEncryptionParameters()
        Get the parameters to use for XML encryption operations.
        Returns:
        the parameters
      • setEncryptionParameters

        @Nonnull
        public SecurityParametersContext setEncryptionParameters​(@Nullable
                                                                 EncryptionParameters params)
        Set the parameters to use for XML encryption operations.
        Parameters:
        params - the parameters
        Returns:
        this context
      • getDecryptionParameters

        @Nullable
        public DecryptionParameters getDecryptionParameters()
        Get the parameters to use for XML decryption operations.
        Returns:
        the parameters
      • setDecryptionParameters

        @Nonnull
        public SecurityParametersContext setDecryptionParameters​(@Nullable
                                                                 DecryptionParameters params)
        Set the parameters to use for XML decryption operations.
        Parameters:
        params - the parameters
        Returns:
        this context