OcspClient.GetEncoded(Byte[], Byte[]) Method
In This Article
Returns a DER- or BER-encoded OCSPResponse ASN.1 object.
Namespace: DevExpress.Office.DigitalSignatures
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
check |
Byte[] | A DER-encoded x509 certificate to check. |
issuer |
Byte[] | A DER-encoded x509 issuers certificate. |
#Returns
Type | Description |
---|---|
Byte[] | DER- or BER-encoded OCSPResponse ASN. |
#Exceptions
Type | Description |
---|---|
Ocsp |
Occurs if the OCSP server request failed. |
Web |
Occurs if the OCSP server request failed. |
#Remarks
The GetEncoded method returns null if the OCSP server URI is null or the OCSP server URI is not added to the certificate.
#Implements
See Also