Interface: TLSARecord
Defined in: src/types.ts:675
TLSA record - DNS-based Authentication of Named Entities (DANE).
Associates a TLS server certificate with the domain name where the record is found.
Example
const record: TLSARecord = {
type: "TLSA",
usage: 3,
selector: 1,
matchingType: 1,
certificate: "abcdef1234567890...",
ttl: 86400,
};
Extends
Properties
ttl?
optional ttl?: number;
Defined in: src/types.ts:76
Time to live in seconds (optional)
Inherited from
certificate?
optional certificate?: string;
Defined in: src/types.ts:680
Certificate association data internal canonical (Node uses ‘data’ as ArrayBuffer/Buffer)
certUsage?
optional certUsage?: number;
Defined in: src/types.ts:682
Node.js compatible certificate usage
data?
optional data?:
| string
| ArrayBuffer
| Uint8Array<ArrayBufferLike>;
Defined in: src/types.ts:684
Node.js compatible data (hex/base64 string or Buffer)
match?
optional match?: number;
Defined in: src/types.ts:689
Node.js compatible matching type
matchingType?
optional matchingType?: number;
Defined in: src/types.ts:691
Matching type (0-2) internal canonical (Node uses ‘match’)
selector
selector: number;
Defined in: src/types.ts:693
Selector (0-1)
type
type: "TLSA";
Defined in: src/types.ts:694
The type of DNS record
Overrides
usage?
optional usage?: number;
Defined in: src/types.ts:696
Certificate usage (0-3) internal canonical (Node uses ‘certUsage’)