Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function createCertificate( _ ByVal cfgFilename As String, _ ByVal keyLen As UShort, _ ByVal hashLen As UShort, _ ByVal userAccount As String _ ) As X509Certificate2 |
C# | |
---|---|
public static X509Certificate2 createCertificate( string cfgFilename, ushort keyLen, ushort hashLen, string userAccount ) |
Parameters
- cfgFilename
- The path name of the UA configuration file.
- keyLen
- Certifica key length, 2048 or 4096
- hashLen
- Certificate encryption algorithm, 0 for SHA1, 1 for SHA256
- userAccount