Discuss this help topic in SecureBlackbox Forum

TElRelativeDistinguishedName.IndexOf

TElRelativeDistinguishedName     See also     


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


Returns the index of the desired RDN in the list.

Declaration

[C#]
    int IndexOf(byte[] OID);

[VB.NET]
    Function IndexOf(ByVal OID As Byte()) As Integer

[Pascal]
    function IndexOf(const OID : ByteArray) : integer;

[C++]
    int32_t IndexOf(const std::vector<uint8_t> &OID);

[PHP]
    integer IndexOf(array of byte|string|NULL $OID)

[Java]
    int indexOf(byte[] OID);

Parameters

  • OID - OID of the pair that should be found in the list.

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 get the index of certain RDN in the list.

See also:     OIDs     Remove    

Discuss this help topic in SecureBlackbox Forum