Interface AaaEncryptServiceConfig
-
- All Superinterfaces:
Augmentable<AaaEncryptServiceConfig>
,BindingObject
,ChildOf<AaaEncryptServiceConfigData>
,DataContainer
,DataObject
@Generated("mdsal-binding-generator") public interface AaaEncryptServiceConfig extends ChildOf<AaaEncryptServiceConfigData>, Augmentable<AaaEncryptServiceConfig>
This class represents the following YANG schema fragment defined in module aaa-encrypt-service-config
container aaa-encrypt-service-config { leaf encrypt-key { type string; } leaf password-length { type int32; } leaf encrypt-salt { type string; } leaf encrypt-method { type string; } leaf encrypt-type { type string; } leaf encrypt-iteration-count { type int32; } leaf encrypt-key-length { type int32; } leaf cipher-transforms { type string; } }
The schema path to identify an instance is aaa-encrypt-service-configaaa-encrypt-service-configTo create instances of this class use
AaaEncryptServiceConfigBuilder
.- See Also:
AaaEncryptServiceConfigBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull AaaEncryptServiceConfig thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull AaaEncryptServiceConfig obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull AaaEncryptServiceConfig obj)
Default implementation ofObject.toString()
contract for this interface.String
getCipherTransforms()
Return cipherTransforms, ornull
if it is not present.Integer
getEncryptIterationCount()
Return encryptIterationCount, ornull
if it is not present.String
getEncryptKey()
Return encryptKey, ornull
if it is not present.Integer
getEncryptKeyLength()
Return encryptKeyLength, ornull
if it is not present.String
getEncryptMethod()
Return encryptMethod, ornull
if it is not present.String
getEncryptSalt()
Return encryptSalt, ornull
if it is not present.String
getEncryptType()
Return encryptType, ornull
if it is not present.Integer
getPasswordLength()
Return passwordLength, ornull
if it is not present.default Class<AaaEncryptServiceConfig>
implementedInterface()
default @NonNull String
requireCipherTransforms()
Return cipherTransforms, guaranteed to be non-null.default @NonNull Integer
requireEncryptIterationCount()
Return encryptIterationCount, guaranteed to be non-null.default @NonNull String
requireEncryptKey()
Return encryptKey, guaranteed to be non-null.default @NonNull Integer
requireEncryptKeyLength()
Return encryptKeyLength, guaranteed to be non-null.default @NonNull String
requireEncryptMethod()
Return encryptMethod, guaranteed to be non-null.default @NonNull String
requireEncryptSalt()
Return encryptSalt, guaranteed to be non-null.default @NonNull String
requireEncryptType()
Return encryptType, guaranteed to be non-null.default @NonNull Integer
requirePasswordLength()
Return passwordLength, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
default Class<AaaEncryptServiceConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceDataContainer
- Specified by:
implementedInterface
in interfaceDataObject
-
bindingHashCode
static int bindingHashCode(@NonNull AaaEncryptServiceConfig obj)
Default implementation ofObject.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
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull AaaEncryptServiceConfig thisObj, Object obj)
Default implementation ofObject.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 invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull AaaEncryptServiceConfig obj)
Default implementation ofObject.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
- ifobj
is null
-
getEncryptKey
String getEncryptKey()
Return encryptKey, ornull
if it is not present.Encryption key
- Returns:
String
encryptKey, ornull
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, ornull
if it is not present.Encryption key password length
- Returns:
Integer
passwordLength, ornull
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, ornull
if it is not present.Encryption key salt
- Returns:
String
encryptSalt, ornull
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, ornull
if it is not present.The encryption method to use
- Returns:
String
encryptMethod, ornull
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, ornull
if it is not present.The encryption type
- Returns:
String
encryptType, ornull
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, ornull
if it is not present.Number of iterations that will be used by the key
- Returns:
Integer
encryptIterationCount, ornull
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, ornull
if it is not present.Key length
- Returns:
Integer
encryptKeyLength, ornull
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, ornull
if it is not present.cipher transformation type ex: AES/CBC/PKCS5Padding (128)
- Returns:
String
cipherTransforms, ornull
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
-
-