Record Class ExampleCryptoPosture
java.lang.Object
java.lang.Record
org.j7m.middleware.examples.regulated.ExampleCryptoPosture
- Record Components:
strictMode- whether strict local policy is representedallowedAlgorithms- allowed algorithm nameskeyMaterialExposed- whether any key material is exposed
-
Constructor Summary
ConstructorsConstructorDescriptionExampleCryptoPosture(boolean strictMode, List<String> allowedAlgorithms, boolean keyMaterialExposed) Creates a crypto posture report. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedAlgorithmsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thekeyMaterialExposedrecord component.booleanReturns the value of thestrictModerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExampleCryptoPosture
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
strictMode
public boolean strictMode()Returns the value of thestrictModerecord component.- Returns:
- the value of the
strictModerecord component
-
allowedAlgorithms
Returns the value of theallowedAlgorithmsrecord component.- Returns:
- the value of the
allowedAlgorithmsrecord component
-
keyMaterialExposed
public boolean keyMaterialExposed()Returns the value of thekeyMaterialExposedrecord component.- Returns:
- the value of the
keyMaterialExposedrecord component
-