X509CRL2Encode Method

Encodes the current X509CRL2 object to a form specified in the encoding parameter.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.3.0+c7aa42c7e4fd98d87c1722b230e8e27c1bbf41f0
C#
public string Encode(
	EncodingType encoding = EncodingType.Base64CrlHeader
)

Parameters

encoding  EncodingType  (Optional)
Encoding type. Default is CRYPT_STRING_BASE64X509CRLHEADER.

Return Value

String
Encoded text.

Remarks

The following encoding types are not supported:
  • Binary
  • Base64Any
  • StringAny
  • HexAny

Exceptions

ArgumentExceptionSpecified encoding type is not supported.

See Also