Creates a new Certificate from a string representation.
[Visual Basic]
Public Shared Function CreateFromBase64String( _
ByVal rawString As String _
) As Certificate
A new Certificate.
Exception Type | Condition |
---|---|
ArgumentNullException | rawString if a null reference (Nothing in Visual Basic). |
CertificateException | An error occurs while loading the specified certificate. |
FormatException | The length of rawString is less than 4 -or- the length of rawString is not an even multiple of 4. |
Certificate Class | Certificate Members | Org.Mentalis.Security.Certificates Namespace