X509CRL2Encode Method (EncodingType) |
Encodes the current X509CRL2 object to a form specified in the encoding parameter.
Namespace:
System.Security.Cryptography.X509Certificates
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public string Encode(
EncodingType encoding = EncodingType.Base64CrlHeader
)
Public Function Encode (
Optional encoding As EncodingType = EncodingType.Base64CrlHeader
) As String
public:
String^ Encode(
EncodingType encoding = EncodingType::Base64CrlHeader
)
member Encode :
?encoding : EncodingType
(* Defaults:
let _encoding = defaultArg encoding EncodingType.Base64CrlHeader
*)
-> string
Parameters
- encoding (Optional)
- Type: EncodingType
Encoding type. Default is CRYPT_STRING_BASE64X509CRLHEADER.
Return Value
Type:
StringEncoded text.
Exceptions Remarks
The following encoding types are not supported:
- Binary
- Base64Any
- StringAny
- HexAny
See Also