# PdfRevocationRequest class

> A certificate whose revocation status is needed, with what the application needs to fetch it.

Namespace: [PdfNetStack.Signing](https://www.jadev-corp.com/api/pdfnetstack-signing/)  
Assembly: PdfNetStack.dll  
Package: `PdfNetStack`

A certificate whose revocation status is needed, with what the application needs to fetch it.

```csharp
public sealed class PdfRevocationRequest
```

**Inheritance**

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[PdfRevocationRequest](https://www.jadev-corp.com/api/pdfnetstack-signing/pdfrevocationrequest/)

## Properties

### <a id="PdfNetStack_Signing_PdfRevocationRequest_Certificate"></a> Certificate

The certificate to check.

```csharp
public X509Certificate2 Certificate { get; }
```

#### Property Value

 [X509Certificate2](https://learn.microsoft.com/dotnet/api/system.security.cryptography.x509certificates.x509certificate2)

### <a id="PdfNetStack_Signing_PdfRevocationRequest_CrlUrls"></a> CrlUrls

CRL addresses from the certificate's CRL distribution points extension.

```csharp
public IReadOnlyList<string> CrlUrls { get; }
```

#### Property Value

 [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<[string](https://learn.microsoft.com/dotnet/api/system.string)\>

### <a id="PdfNetStack_Signing_PdfRevocationRequest_Issuer"></a> Issuer

The certificate that issued it.

```csharp
public X509Certificate2 Issuer { get; }
```

#### Property Value

 [X509Certificate2](https://learn.microsoft.com/dotnet/api/system.security.cryptography.x509certificates.x509certificate2)

### <a id="PdfNetStack_Signing_PdfRevocationRequest_OcspUrls"></a> OcspUrls

OCSP responder addresses from the certificate's authority information access extension.

```csharp
public IReadOnlyList<string> OcspUrls { get; }
```

#### Property Value

 [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<[string](https://learn.microsoft.com/dotnet/api/system.string)\>

## Methods

### <a id="PdfNetStack_Signing_PdfRevocationRequest_CreateOcspRequest"></a> CreateOcspRequest\(\)

A DER encoded OCSP request (RFC 6960) for the certificate, to POST to an address in
[OcspUrls](https://www.jadev-corp.com/api/pdfnetstack-signing/pdfrevocationrequest/#PdfNetStack_Signing_PdfRevocationRequest_OcspUrls) with content type application/ocsp-request. The certificate is
identified with SHA-1 hashes, which every responder accepts; this identifies, it does not sign.

```csharp
public byte[] CreateOcspRequest()
```

#### Returns

 [byte](https://learn.microsoft.com/dotnet/api/system.byte)\[\]

## Used in

- [Digitally sign PDF files in C# and .NET](https://www.jadev-corp.com/guides/signatures/)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-signing/pdfrevocationrequest/
