summary refs log tree commit diff
path: root/crypto/src/ocsp/OCSPRespStatus.cs
blob: 9c00c70359bedd3fa39bcb4c554c689bb516f3e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

namespace Org.BouncyCastle.Ocsp
{
	[Obsolete("Use version with correct spelling 'OcspRespStatus'")]
	public abstract class OcscpRespStatus : OcspRespStatus
	{
	}

	public abstract class OcspRespStatus
	{
		/**
		 * note 4 is not used.
		 */
		public const int Successful = 0;		// --Response has valid confirmations
		public const int MalformedRequest = 1;	// --Illegal confirmation request
		public const int InternalError = 2;		// --Internal error in issuer
		public const int TryLater = 3;			// --Try again later
		public const int SigRequired = 5;		// --Must sign the request
		public const int Unauthorized = 6;		//  --Request unauthorized
	}
}