Interface AaaEncryptServiceConfig

    • Field Detail

      • QNAME

        static final @NonNull QName QNAME
    • Method Detail

      • bindingHashCode

        static int bindingHashCode​(@NonNull AaaEncryptServiceConfig obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull AaaEncryptServiceConfig thisObj,
                                     Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull AaaEncryptServiceConfig obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getEncryptKey

        String getEncryptKey()
        Return encryptKey, or null if it is not present.
             
                 Encryption key
             
         
        Returns:
        String encryptKey, or null if it is not present.
      • requireEncryptKey

        default @NonNull String requireEncryptKey()
        Return encryptKey, guaranteed to be non-null.
             
                 Encryption key
             
         
        Returns:
        String encryptKey, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if encryptKey is not present
      • getPasswordLength

        Integer getPasswordLength()
        Return passwordLength, or null if it is not present.
             
                 Encryption key password length
             
         
        Returns:
        Integer passwordLength, or null if it is not present.
      • requirePasswordLength

        default @NonNull Integer requirePasswordLength()
        Return passwordLength, guaranteed to be non-null.
             
                 Encryption key password length
             
         
        Returns:
        Integer passwordLength, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if passwordLength is not present
      • getEncryptSalt

        String getEncryptSalt()
        Return encryptSalt, or null if it is not present.
             
                 Encryption key salt
             
         
        Returns:
        String encryptSalt, or null if it is not present.
      • requireEncryptSalt

        default @NonNull String requireEncryptSalt()
        Return encryptSalt, guaranteed to be non-null.
             
                 Encryption key salt
             
         
        Returns:
        String encryptSalt, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if encryptSalt is not present
      • getEncryptMethod

        String getEncryptMethod()
        Return encryptMethod, or null if it is not present.
             
                 The encryption method to use
             
         
        Returns:
        String encryptMethod, or null if it is not present.
      • requireEncryptMethod

        default @NonNull String requireEncryptMethod()
        Return encryptMethod, guaranteed to be non-null.
             
                 The encryption method to use
             
         
        Returns:
        String encryptMethod, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if encryptMethod is not present
      • getEncryptType

        String getEncryptType()
        Return encryptType, or null if it is not present.
             
                 The encryption type
             
         
        Returns:
        String encryptType, or null if it is not present.
      • requireEncryptType

        default @NonNull String requireEncryptType()
        Return encryptType, guaranteed to be non-null.
             
                 The encryption type
             
         
        Returns:
        String encryptType, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if encryptType is not present
      • getEncryptIterationCount

        Integer getEncryptIterationCount()
        Return encryptIterationCount, or null if it is not present.
             
                 Number of iterations that will be used by the key
             
         
        Returns:
        Integer encryptIterationCount, or null if it is not present.
      • requireEncryptIterationCount

        default @NonNull Integer requireEncryptIterationCount()
        Return encryptIterationCount, guaranteed to be non-null.
             
                 Number of iterations that will be used by the key
             
         
        Returns:
        Integer encryptIterationCount, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if encryptIterationCount is not present
      • getEncryptKeyLength

        Integer getEncryptKeyLength()
        Return encryptKeyLength, or null if it is not present.
             
                 Key length
             
         
        Returns:
        Integer encryptKeyLength, or null if it is not present.
      • requireEncryptKeyLength

        default @NonNull Integer requireEncryptKeyLength()
        Return encryptKeyLength, guaranteed to be non-null.
             
                 Key length
             
         
        Returns:
        Integer encryptKeyLength, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if encryptKeyLength is not present
      • getCipherTransforms

        String getCipherTransforms()
        Return cipherTransforms, or null if it is not present.
             
                 cipher transformation type ex: AES/CBC/PKCS5Padding (128)
             
         
        Returns:
        String cipherTransforms, or null if it is not present.
      • requireCipherTransforms

        default @NonNull String requireCipherTransforms()
        Return cipherTransforms, guaranteed to be non-null.
             
                 cipher transformation type ex: AES/CBC/PKCS5Padding (128)
             
         
        Returns:
        String cipherTransforms, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if cipherTransforms is not present