Historical Content Alert
This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.

Reset

The Reset method resets a string array to a specified number and type of elements. The values of all the elements in the string array are set to 0.

[VB] void Reset(
  long Count,  
  long StringType  
);
 
[JAVA] void Reset(
  int Count,                
  int StringType            
);
 
[C++] HRESULT Reset(
  LONG Count,         // in
  LONG StringType     // in
);
 

Parameters

[VB][JAVA][C++] Count
Specifies the number of elements in the string array.
[VB][JAVA][C++] StringType
Specifies the type of the elements in the string array. The type must be one of the following types.
String Type Specifier Description
CERT_RDN_ANY_TYPE For encoding an X509_UNICODE_NAME name. The object identifier of the name component is used to determine the RDN type.
CERT_RDN_NUMERIC_STRING The characters 0 through 9 and the space character (8 bit).
CERT_RDN_PRINTABLE_STRING Printable characters (8 bit).
CERT_RDN_T61_STRING T.61 encoded characters (8 bit).
CERT_RDN_VIDEOTEX_STRING VIDEOTEX characters.
CERT_RDN_IA5_STRING IA5 (ASCII) characters.
CERT_RDN_GRAPHIC_STRING A string of ISO defined GRAPHIC characters.
CERT_RDN_ISO646_STRING 128 character set (8 bit).
CERT_RDN_GENERAL_STRING A string of ISO defined GENERAL characters.
CERT_RDN_INT4_STRING An array of INT4 values (32 bit).
CERT_RDN_UNICODE_STRING Unicode characters (16 bit).

For more information about RDN types, please refer to the CryptoAPI 2.0 documents.

Return Values

This method does not return a value.


Share this article: