RevokedStatusRevocationReason Property

Return the revocation reason, if there is one.

Definition

Namespace: Org.BouncyCastle.Ocsp
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public int RevocationReason { get; }

Return Value

Int32
The revocation reason, if available.

Remarks

This field is optional; test for it with HasRevocationReason first.

Exceptions

InvalidOperationExceptionIf no revocation reason is available.

See Also