Package org.xbill.DNS

Class CDNSKEYRecord

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class CDNSKEYRecord extends DNSKEYRecord
Child DNSKEY record as specified in RFC 8078.
See Also:
  • Constructor Details

    • CDNSKEYRecord

      CDNSKEYRecord()
    • CDNSKEYRecord

      public CDNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, byte[] key)
      Creates a CDNSKEY Record from the given data
      Parameters:
      flags - Flags describing the key's properties
      proto - The protocol that the key was created for
      alg - The key's algorithm
      key - Binary representation of the key
    • CDNSKEYRecord

      public CDNSKEYRecord(Name name, int dclass, long ttl, int flags, int proto, int alg, PublicKey key) throws DNSSEC.DNSSECException
      Creates a CDNSKEY Record from the given data
      Parameters:
      flags - Flags describing the key's properties
      proto - The protocol that the key was created for
      alg - The key's algorithm
      key - The key as a PublicKey
      Throws:
      DNSSEC.DNSSECException - The PublicKey could not be converted into DNS format.