public class TLSA extends Data
| Modifier and Type | Class and Description |
|---|---|
static class |
TLSA.CertUsage |
static class |
TLSA.MatchingType |
static class |
TLSA.Selector |
| Modifier and Type | Field and Description |
|---|---|
TLSA.CertUsage |
certUsage |
byte |
certUsageByte
The provided association that will be used to match the certificate presented in
the TLS handshake.
|
TLSA.MatchingType |
matchingType |
byte |
matchingTypeByte
How the certificate association is presented.
|
TLSA.Selector |
selector |
byte |
selectorByte
Which part of the TLS certificate presented by the server will be matched against the
association data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
certificateAssociationEquals(byte[] otherCertificateAssociation) |
byte[] |
getCertificateAssociation() |
Record.TYPE |
getType()
The payload type.
|
static TLSA |
parse(java.io.DataInputStream dis,
int length) |
void |
serialize(java.io.DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
java.lang.String |
toString() |
equals, hashCode, length, toByteArray, toOutputStreampublic final byte certUsageByte
public final TLSA.CertUsage certUsage
public final byte selectorByte
public final TLSA.Selector selector
public final byte matchingTypeByte
public final TLSA.MatchingType matchingType
public static TLSA parse(java.io.DataInputStream dis, int length) throws java.io.IOException
java.io.IOExceptionpublic Record.TYPE getType()
Datapublic void serialize(java.io.DataOutputStream dos)
throws java.io.IOException
Datapublic java.lang.String toString()
toString in class java.lang.Objectpublic byte[] getCertificateAssociation()
public boolean certificateAssociationEquals(byte[] otherCertificateAssociation)