Opc.Ua.Security.Certificates
SetSerialNumber Method (ICertificateBuilderConfig)



Opc.Ua.Security.Certificates Namespace > ICertificateBuilderConfig Interface : SetSerialNumber Method
The serial number as an array of bytes in little endian order.
Set the value of the serial number directly using a byte array.
Syntax
'Declaration
 
Function SetSerialNumber( _
   ByVal serialNumber() As Byte _
) As ICertificateBuilder
'Usage
 
Dim instance As ICertificateBuilderConfig
Dim serialNumber() As Byte
Dim value As ICertificateBuilder
 
value = instance.SetSerialNumber(serialNumber)
ICertificateBuilder SetSerialNumber( 
   byte[] serialNumber
)

Parameters

serialNumber
The serial number as an array of bytes in little endian order.
Remarks
The length of the serial number shall not exceed X509Defaults.SerialNumberLengthMax octets.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ICertificateBuilderConfig Interface
ICertificateBuilderConfig Members