Package com.mimecast.robin.bots
Record Class EmailAnalysisBot.DkimSignature
java.lang.Object
java.lang.Record
com.mimecast.robin.bots.EmailAnalysisBot.DkimSignature
- Enclosing class:
EmailAnalysisBot
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thealgorithmrecord component.private final StringThe field for thebodyHashrecord component.private final StringThe field for thecanonicalizationrecord component.private final StringThe field for thedomainrecord component.private final StringThe field for theselectorrecord component.private final StringThe field for thesignedHeadersrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.bodyHash()Returns the value of thebodyHashrecord component.Returns the value of thecanonicalizationrecord component.domain()Returns the value of thedomainrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.selector()Returns the value of theselectorrecord component.Returns the value of thesignedHeadersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
domain
The field for thedomainrecord component. -
selector
The field for theselectorrecord component. -
algorithm
The field for thealgorithmrecord component. -
canonicalization
The field for thecanonicalizationrecord component. -
signedHeaders
The field for thesignedHeadersrecord component. -
bodyHash
The field for thebodyHashrecord component.
-
-
Constructor Details
-
DkimSignature
DkimSignature(String domain, String selector, String algorithm, String canonicalization, String signedHeaders, String bodyHash) Creates an instance of aDkimSignaturerecord class.- Parameters:
domain- the value for thedomainrecord componentselector- the value for theselectorrecord componentalgorithm- the value for thealgorithmrecord componentcanonicalization- the value for thecanonicalizationrecord componentsignedHeaders- the value for thesignedHeadersrecord componentbodyHash- the value for thebodyHashrecord 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). -
domain
Returns the value of thedomainrecord component.- Returns:
- the value of the
domainrecord component
-
selector
Returns the value of theselectorrecord component.- Returns:
- the value of the
selectorrecord component
-
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
canonicalization
Returns the value of thecanonicalizationrecord component.- Returns:
- the value of the
canonicalizationrecord component
-
signedHeaders
Returns the value of thesignedHeadersrecord component.- Returns:
- the value of the
signedHeadersrecord component
-
bodyHash
Returns the value of thebodyHashrecord component.- Returns:
- the value of the
bodyHashrecord component
-