Discuss this help topic in SecureBlackbox Forum

TElExtendedKeyUsageExtension.AddCustomUsage

TElExtendedKeyUsageExtension     See also     


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


Adds one more custom certificate usage value to the list.

Declaration

[C#]
    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)

[Java]
    int addCustomUsage(byte[] 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