Discuss this help topic in SecureBlackbox Forum

TElDNSResourceRecordSet.FindKey

TElDNSResourceRecordSet     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Searches for RR that holds a key.

Declaration

[C#]
    int FindKey(string Owner, ushort KeyTag, byte Algorithm, int Start);

[VB.NET]
    Function FindKey(ByVal Owner As String, ByVal KeyTag As UInt16, ByVal Algorithm As Byte, ByVal Start As Integer) As Integer

[Pascal]
    function FindKey(const Owner : string; KeyTag : Word; Algorithm : Byte; Start : Integer) : Integer;

[C++]
    int32_t FindKey(const std::string &Owner, uint16_t KeyTag, uint8_t Algorithm, int32_t Start);

[PHP]
    integer FindKey(string $Owner, integer $KeyTag, integer $Algorithm, integer $Start)

[Java]
    int findKey(String Owner, short Start, byte arg2, int arg3);

Parameters

  • Algorithm - specifies asymmetric algorithm
  • KeyTag - specifies key tag
  • Owner - key owner
  • Start - index of the item from which to start search

Possible values:

Return value

    Returns the index of the desired item in the list. If the item has not been found, returns -1.

Description

    Use this method to search for a RR that contains the desired key.

See also:     Find     FindAny     FindSelfSignedSignature     FindSignature     FindSignatureByUpperLevel    

Discuss this help topic in SecureBlackbox Forum