Package io.skodjob.testframe.security
Record Class CertAndKeyFiles
java.lang.Object
java.lang.Record
io.skodjob.testframe.security.CertAndKeyFiles
- Record Components:
certFile- cert filekeyFile- key file
Record for cert and key files on disk
-
Constructor Summary
ConstructorsConstructorDescriptionCertAndKeyFiles(File certFile, File keyFile) Creates an instance of aCertAndKeyFilesrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncertFile()Returns the value of thecertFilerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns path of cert fileReturns path of key filefinal inthashCode()Returns a hash code value for this object.keyFile()Returns the value of thekeyFilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
getCertPath
Returns path of cert file- Returns:
- string path
-
getKeyPath
Returns path of key file- Returns:
- string path
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
certFile
Returns the value of thecertFilerecord component.- Returns:
- the value of the
certFilerecord component
-
keyFile
Returns the value of thekeyFilerecord component.- Returns:
- the value of the
keyFilerecord component
-