パッケージ org.pcap4j.packet

クラス DnsRDataCaa

  • すべての実装されたインタフェース:
    Serializable, DnsResourceRecord.DnsRData

    public final class DnsRDataCaa
    extends Object
    implements DnsResourceRecord.DnsRData
    DNS CAA RDATA
     +0-1-2-3-4-5-6-7-|0-1-2-3-4-5-6-7-|
     | Flags          | Tag Length = n |
     +----------------+----------------+...+---------------+
     | Tag char 0     | Tag char 1     |...| Tag char n-1  |
     +----------------+----------------+...+---------------+
     +----------------+----------------+.....+----------------+
     | Value byte 0   | Value byte 1   |.....| Value byte m-1 |
     +----------------+----------------+.....+----------------+
     (m = d - n - 2) where d is the length of the RDATA section.)
    
     where:
     Flags: One octet containing bit flags for record. See rfc for details.
    
        Bit 0, Issuer Critical Flag
        All other bit positions are reserved for future use.
    
     Tag: The property identifier, a sequence of US-ASCII characters.
     Value: A sequence of octets representing the property value.
     
    導入されたバージョン:
    pcap4j 1.7.2
    作成者:
    Paulo Pacheco
    関連項目:
    RFC 6844, 直列化された形式
    • メソッドの詳細

      • isCritical

        public boolean isCritical()
        戻り値:
        true if the Issuer Critical Flag is set to 1; false otherwise.
      • getReservedFlags

        public byte getReservedFlags()
        戻り値:
        reservedFlags (Bit 1 to 7 of the Flags field)
      • getTag

        public String getTag()
        戻り値:
        tag
      • getValue

        public String getValue()
        戻り値:
        value
      • getBuilder

        public DnsRDataCaa.Builder getBuilder()
        戻り値:
        a new Builder object populated with this object's fields.
      • toString

        public String toString​(String indent,
                               byte[] headerRawData)
        定義:
        toString インタフェース内 DnsResourceRecord.DnsRData
        パラメータ:
        indent - indent
        headerRawData - the raw data of the DNS header including this RDATA.
        戻り値:
        String representation of this object.
      • equals

        public boolean equals​(Object o)
        オーバーライド:
        equals クラス内 Object
      • hashCode

        public int hashCode()
        オーバーライド:
        hashCode クラス内 Object