'Declaration
<CanBeNullAttribute()> Public Shared Function TryNew( _ ByVal rawData() As Byte, _ ByRef pkiCertificate As PkiCertificate _ ) As Exception
'Usage
Dim rawData() As Byte Dim pkiCertificate As PkiCertificate Dim value As Exception value = PkiCertificate.TryNew(rawData, pkiCertificate)
[CanBeNull()] public static Exception TryNew( byte[] rawData, out PkiCertificate pkiCertificate )
[CanBeNull()] public: static Exception^ TryNew( array<byte>^ rawData, [Out] PkiCertificate^ pkiCertificate )
Parameters
- rawData
- A byte array containing data from a PKI certificate.
The value of this parameter can be
null
(Nothing
in Visual Basic). - pkiCertificate
- Contains the newly created PKI certificate, or
null
in case of an error.The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
Returns
null
if the certificate has been successfully created. Otherwise, returns a non-null
System.Exception describing the error.
This method can return null
(Nothing
in Visual Basic).