Discuss this help topic in SecureBlackbox Forum

TElExtendedKeyUsageExtension.AddCustomUsage

TElExtendedKeyUsageExtension     See also     


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


Adds one more custom certificate usage value to the list.

Declaration

[C#/Java]
    int AddCustomUsage(byte[] UsageOID);

[VB.NET]
    Function AddCustomUsage(ByVal UsageOID As Byte()) As Integer

[Pascal]
    function AddCustomUsage(const UsageOID : ByteArray): integer;

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

[PHP]
    integer AddCustomUsage(array of byte|string|NULL $UsageOID)

Parameters

  • UsageOID - value that will be assigned to the OID property.

Return value

The index of the added value.

Description

    Use this method to add one more custom certificate usage values to the list.

See also:     ClearCustomUsages     RemoveCustomUsage     CustomUsages     CustomUsageCount    

Discuss this help topic in SecureBlackbox Forum