Class EncryptionEntity

    • Method Detail

      • publicKeyId

        public final String publicKeyId()

        The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

        Returns:
        The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
      • providerId

        public final String providerId()

        The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

        Returns:
        The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
      • fieldPatterns

        public final FieldPatterns fieldPatterns()

        Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.

        Returns:
        Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)