Class SetSamlResponseDecryptionKeyRequest

java.lang.Object
com.cloudera.cdp.iam.model.SetSamlResponseDecryptionKeyRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-11-14T06:50:08.152-08:00") public class SetSamlResponseDecryptionKeyRequest extends Object
Request object for setting the encryption certificate and decryption key for SAML response.
  • Constructor Details

    • SetSamlResponseDecryptionKeyRequest

      public SetSamlResponseDecryptionKeyRequest()
  • Method Details

    • getSamlProvider

      public String getSamlProvider()
      Getter for samlProvider. The name or CRN of the SAML Provider associated with the decryption key.
    • setSamlProvider

      public void setSamlProvider(String samlProvider)
      Setter for samlProvider. The name or CRN of the SAML Provider associated with the decryption key.
    • getSamlResponseEncryptionCertificate

      public String getSamlResponseEncryptionCertificate()
      Getter for samlResponseEncryptionCertificate. The certificate used by Identity Provider for encrypting SAML responses. It must be in PEM format. It must be non-empty and valid when 'currentSamlResponseDecryptionKey' is also set. Setting it to an empty string will remove this certificate.
    • setSamlResponseEncryptionCertificate

      public void setSamlResponseEncryptionCertificate(String samlResponseEncryptionCertificate)
      Setter for samlResponseEncryptionCertificate. The certificate used by Identity Provider for encrypting SAML responses. It must be in PEM format. It must be non-empty and valid when 'currentSamlResponseDecryptionKey' is also set. Setting it to an empty string will remove this certificate.
    • getCurrentSamlResponseDecryptionKey

      public String getCurrentSamlResponseDecryptionKey()
      Getter for currentSamlResponseDecryptionKey. The current private key used for decrypting incoming encrypted SAML responses from the customer's Identity Provider to CDP. It must be in PEM format. It must be non-empty and valid when 'samlResponseEncryptionCertificate' is set. Setting it to an empty string will remove this key.
    • setCurrentSamlResponseDecryptionKey

      public void setCurrentSamlResponseDecryptionKey(String currentSamlResponseDecryptionKey)
      Setter for currentSamlResponseDecryptionKey. The current private key used for decrypting incoming encrypted SAML responses from the customer's Identity Provider to CDP. It must be in PEM format. It must be non-empty and valid when 'samlResponseEncryptionCertificate' is set. Setting it to an empty string will remove this key.
    • getNextSamlResponseDecryptionKey

      public String getNextSamlResponseDecryptionKey()
      Getter for nextSamlResponseDecryptionKey. The next private key used for decrypting incoming encrypted SAML responses from the customer's IdP to CDP, during key rotation. It must be in PEM format. It is used for rotating keys without downtime, and is expected to be empty after key rotation completes. When both the current and next decryption keys are set, CDP will try to decrypt with both the keys. Both must be valid keys. Omitting this parameter from the request will remove it.
    • setNextSamlResponseDecryptionKey

      public void setNextSamlResponseDecryptionKey(String nextSamlResponseDecryptionKey)
      Setter for nextSamlResponseDecryptionKey. The next private key used for decrypting incoming encrypted SAML responses from the customer's IdP to CDP, during key rotation. It must be in PEM format. It is used for rotating keys without downtime, and is expected to be empty after key rotation completes. When both the current and next decryption keys are set, CDP will try to decrypt with both the keys. Both must be valid keys. Omitting this parameter from the request will remove it.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object