Record Class SecureCredentialStore.PinnedTlsCertificate
java.lang.Object
java.lang.Record
ai.attackframework.tools.burp.utils.config.SecureCredentialStore.PinnedTlsCertificate
- Enclosing class:
SecureCredentialStore
public static record SecureCredentialStore.PinnedTlsCertificate(String sourcePath, String fingerprintSha256, byte[] encodedBytes)
extends Record
Immutable imported TLS pin material read from session memory.
-
Constructor Summary
ConstructorsConstructorDescriptionPinnedTlsCertificate(String sourcePath, String fingerprintSha256, byte[] encodedBytes) Creates an instance of aPinnedTlsCertificaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the value of theencodedBytesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefingerprintSha256record component.final inthashCode()Returns a hash code value for this object.Returns the value of thesourcePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PinnedTlsCertificate
Creates an instance of aPinnedTlsCertificaterecord class.- Parameters:
sourcePath- the value for thesourcePathrecord componentfingerprintSha256- the value for thefingerprintSha256record componentencodedBytes- the value for theencodedBytesrecord component
-
-
Method Details
-
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). -
sourcePath
Returns the value of thesourcePathrecord component.- Returns:
- the value of the
sourcePathrecord component
-
fingerprintSha256
Returns the value of thefingerprintSha256record component.- Returns:
- the value of the
fingerprintSha256record component
-
encodedBytes
public byte[] encodedBytes()Returns the value of theencodedBytesrecord component.- Returns:
- the value of the
encodedBytesrecord component
-