Package org.minidns.record
Class TLSA
java.lang.Object
org.minidns.record.Data
org.minidns.record.TLSA
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The certificate usage field.static enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionfinal TLSA.CertUsage
final byte
The provided association that will be used to match the certificate presented in the TLS handshake.final TLSA.MatchingType
final byte
How the certificate association is presented.final TLSA.Selector
final byte
Which part of the TLS certificate presented by the server will be matched against the association data. -
Method Summary
Modifier and TypeMethodDescriptionboolean
certificateAssociationEquals
(byte[] otherCertificateAssociation) byte[]
getType()
The payload type.static TLSA
parse
(DataInputStream dis, int length) void
The internal method used to serialize Data subclasses.toString()
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
Field Details
-
certUsageByte
The provided association that will be used to match the certificate presented in the TLS handshake. -
certUsage
-
selectorByte
Which part of the TLS certificate presented by the server will be matched against the association data. -
selector
-
matchingTypeByte
How the certificate association is presented. -
matchingType
-
-
Method Details
-
parse
- Throws:
IOException
-
getType
Description copied from class:Data
The payload type. -
serialize
Description copied from class:Data
The internal method used to serialize Data subclasses.- Specified by:
serialize
in classData
- Parameters:
dos
- the output stream to serialize to.- Throws:
IOException
- if an I/O error occurs.
-
toString
-
getCertificateAssociation
-
certificateAssociationEquals
-