Click or drag to resize

X509CRL2Encode Method (EncodingType)

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

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public string Encode(
	EncodingType encoding = EncodingType.Base64CrlHeader
)

Parameters

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

Return Value

Type: String
Encoded text.
Exceptions
ExceptionCondition
ArgumentExceptionSpecified encoding type is not supported.
UninitializedObjectExceptionAn object is not initialized.
Remarks
The following encoding types are not supported:
  • Binary
  • Base64Any
  • StringAny
  • HexAny
See Also