Record Class KeyReference
java.lang.Object
java.lang.Record
org.j7m.middleware.crypto.policy.KeyReference
- Record Components:
keyId- safe key idversion- key versionfingerprint- safe fingerprint
-
Constructor Summary
ConstructorsConstructorDescriptionKeyReference(String keyId, String version, String fingerprint) Creates normalized key reference values. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefingerprintrecord component.final inthashCode()Returns a hash code value for this object.keyId()Returns the value of thekeyIdrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
KeyReference
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
keyId
-
version
-
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-