Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs | Enumerations
ocspti.h File Reference
#include "ocspt.h"
#include "certt.h"
#include "plarena.h"
#include "seccomon.h"
#include "secoidt.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CERTOCSPRequestStr
struct  ocspTBSRequestStr
struct  ocspSignatureStr
struct  ocspSingleRequestStr
struct  CERTOCSPCertIDStr
struct  CERTOCSPResponseStr
struct  ocspResponseBytesStr
struct  ocspBasicOCSPResponseStr
struct  ocspResponseDataStr
struct  ocspResponderIDStr
struct  CERTOCSPSingleResponseStr
struct  ocspCertStatusStr
struct  ocspRevokedInfoStr
struct  ocspServiceLocatorStr
union  ocspResponseBytesStr.decodedResponse
union  ocspResponderIDStr.responderIDValue
union  ocspCertStatusStr.certStatusInfo

Typedefs

typedef struct ocspBasicOCSPResponseStr
typedef struct ocspCertStatusStr
typedef struct ocspResponderIDStr
typedef struct ocspResponseBytesStr
typedef struct ocspResponseDataStr
typedef struct ocspRevokedInfoStr
typedef struct ocspServiceLocatorStr
typedef struct ocspSignatureStr
typedef struct ocspSingleRequestStr
typedef struct ocspSingleResponseStr
typedef struct ocspTBSRequestStr

Enumerations

enum  ocspResponseStatus {
  ocspResponse_successful = 0, ocspResponse_malformedRequest = 1, ocspResponse_internalError = 2, ocspResponse_tryLater = 3,
  ocspResponse_unused = 4, ocspResponse_sigRequired = 5, ocspResponse_unauthorized = 6, ocspResponse_other,
  ocspResponse_successful = 0, ocspResponse_malformedRequest = 1, ocspResponse_internalError = 2, ocspResponse_tryLater = 3,
  ocspResponse_unused = 4, ocspResponse_sigRequired = 5, ocspResponse_unauthorized = 6, ocspResponse_other
}
enum  ocspResponderIDType {
  ocspResponderID_byName, ocspResponderID_byKey, ocspResponderID_other, ocspResponderID_byName,
  ocspResponderID_byKey, ocspResponderID_other
}
enum  ocspCertStatusType {
  ocspCertStatus_good, ocspCertStatus_revoked, ocspCertStatus_unknown, ocspCertStatus_other,
  ocspCertStatus_good, ocspCertStatus_revoked, ocspCertStatus_unknown, ocspCertStatus_other
}

Class Documentation

struct CERTOCSPRequestStr

Definition at line 108 of file ocspti.h.

Class Members
PRArenaPool * arena
ocspSignature * optionalSignature
ocspTBSRequest * tbsRequest
struct ocspTBSRequestStr

Definition at line 128 of file ocspti.h.

Class Members
SECItem * derRequestorName
void * extensionHandle
CERTCertExtension ** requestExtensions
ocspSingleRequest ** requestList
CERTGeneralNameList * requestorName
SECItem version
struct ocspSignatureStr

Definition at line 159 of file ocspti.h.

Collaboration diagram for ocspSignatureStr:
Class Members
CERTCertificate * cert
SECItem ** derCerts
int failureReason
SECItem signature
SECAlgorithmID signatureAlgorithm
SECStatus status
PRBool wasChecked
struct ocspSingleRequestStr

Definition at line 180 of file ocspti.h.

Class Members
PRArenaPool * arena
CERTOCSPCertID * reqCert
CERTCertExtension ** singleRequestExtensions
struct CERTOCSPCertIDStr

Definition at line 195 of file ocspti.h.

Class Members
SECAlgorithmID hashAlgorithm
SECItem issuerKeyHash
SECItem issuerMD2KeyHash
SECItem issuerMD2NameHash
SECItem issuerMD5KeyHash
SECItem issuerMD5NameHash
SECItem issuerNameHash
SECItem issuerSHA1KeyHash
SECItem issuerSHA1NameHash
PRArenaPool * poolp
SECItem serialNumber
struct CERTOCSPResponseStr

Definition at line 241 of file ocspti.h.

Class Members
PRArenaPool * arena
ocspResponseBytes * responseBytes
SECItem responseStatus
ocspResponseStatus statusValue
struct ocspResponseBytesStr

Definition at line 262 of file ocspti.h.

Class Members
union ocspResponseBytesStr decodedResponse
union ocspResponseBytesStr decodedResponse
SECItem response
SECItem responseType
SECOidTag responseTypeTag
struct ocspBasicOCSPResponseStr

Definition at line 281 of file ocspti.h.

Class Members
ocspSignature responseSignature
ocspResponseData * tbsResponseData
SECItem tbsResponseDataDER
struct ocspResponseDataStr

Definition at line 292 of file ocspti.h.

Class Members
SECItem derResponderID
SECItem producedAt
ocspResponderID * responderID
CERTCertExtension ** responseExtensions
CERTOCSPSingleResponse ** responses
SECItem version
struct ocspResponderIDStr

Definition at line 321 of file ocspti.h.

Class Members
ocspResponderIDType responderIDType
union ocspResponderIDStr responderIDValue
union ocspResponderIDStr responderIDValue
struct CERTOCSPSingleResponseStr

Definition at line 336 of file ocspti.h.

Class Members
PRArenaPool * arena
CERTOCSPCertID * certID
ocspCertStatus * certStatus
SECItem derCertStatus
SECItem * nextUpdate
CERTCertExtension ** singleExtensions
SECItem thisUpdate
struct ocspCertStatusStr

Definition at line 379 of file ocspti.h.

Class Members
union ocspCertStatusStr certStatusInfo
union ocspCertStatusStr certStatusInfo
ocspCertStatusType certStatusType
struct ocspRevokedInfoStr

Definition at line 393 of file ocspti.h.

Class Members
SECItem * revocationReason
SECItem revocationTime
struct ocspServiceLocatorStr

Definition at line 404 of file ocspti.h.

Class Members
CERTName * issuer
SECItem locator
union ocspResponseBytesStr.decodedResponse

Definition at line 266 of file ocspti.h.

Class Members
ocspBasicOCSPResponse * basic
union ocspResponderIDStr.responderIDValue

Definition at line 322 of file ocspti.h.

Class Members
SECItem keyHash
CERTName name
SECItem other
union ocspCertStatusStr.certStatusInfo

Definition at line 380 of file ocspti.h.

Class Members
SECItem * goodInfo
SECItem * otherInfo
ocspRevokedInfo * revokedInfo
SECItem * unknownInfo

Typedef Documentation

typedef struct ocspBasicOCSPResponseStr

Definition at line 92 of file ocspti.h.

typedef struct ocspCertStatusStr

Definition at line 93 of file ocspti.h.

typedef struct ocspResponderIDStr

Definition at line 94 of file ocspti.h.

typedef struct ocspResponseBytesStr

Definition at line 95 of file ocspti.h.

typedef struct ocspResponseDataStr

Definition at line 96 of file ocspti.h.

typedef struct ocspRevokedInfoStr

Definition at line 97 of file ocspti.h.

typedef struct ocspServiceLocatorStr

Definition at line 98 of file ocspti.h.

typedef struct ocspSignatureStr

Definition at line 99 of file ocspti.h.

typedef struct ocspSingleRequestStr

Definition at line 100 of file ocspti.h.

typedef struct ocspSingleResponseStr

Definition at line 101 of file ocspti.h.

typedef struct ocspTBSRequestStr

Definition at line 102 of file ocspti.h.


Enumeration Type Documentation

Enumerator:
ocspCertStatus_good 
ocspCertStatus_revoked 
ocspCertStatus_unknown 
ocspCertStatus_other 
ocspCertStatus_good 
ocspCertStatus_revoked 
ocspCertStatus_unknown 
ocspCertStatus_other 

Definition at line 364 of file ocspti.h.

             {
    ocspCertStatus_good,           /* cert is not revoked */
    ocspCertStatus_revoked,        /* cert is revoked */
    ocspCertStatus_unknown,        /* cert was unknown to the responder */
    ocspCertStatus_other           /* status was not an expected value */
} ocspCertStatusType;
Enumerator:
ocspResponderID_byName 
ocspResponderID_byKey 
ocspResponderID_other 
ocspResponderID_byName 
ocspResponderID_byKey 
ocspResponderID_other 

Definition at line 314 of file ocspti.h.

Enumerator:
ocspResponse_successful 
ocspResponse_malformedRequest 
ocspResponse_internalError 
ocspResponse_tryLater 
ocspResponse_unused 
ocspResponse_sigRequired 
ocspResponse_unauthorized 
ocspResponse_other 
ocspResponse_successful 
ocspResponse_malformedRequest 
ocspResponse_internalError 
ocspResponse_tryLater 
ocspResponse_unused 
ocspResponse_sigRequired 
ocspResponse_unauthorized 
ocspResponse_other 

Definition at line 223 of file ocspti.h.