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.0.1
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