(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
(no public members)
inherits from iASN1CustomStruct
iCertID / tCertID CertID ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier, issuerNameHash OCTET STRING,
issuerKeyHash OCTET STRING,
serialNumber CertificateSerialNumber Uniquely identifies the certificate whose status is requested.
function get_hashAlgorithm: ObjectIdentifier;
function get_issuerNameHash: OctetString;
function get_issuerKeyHash: OctetString;
function get_serialNumber: iASN1Integer;
procedure set_hashAlgorithm(const aValue: ObjectIdentifier);
procedure set_issuerNameHash(const aValue: OctetString);
procedure set_issuerKeyHash(const aValue: OctetString);
function Equals(const aCertID: iCertID): Boolean;
property hashAlgorithm: ObjectIdentifier read get_hashAlgorithm write set_hashAlgorithm;
property issuerNameHash: OctetString read get_issuerNameHash write set_issuerNameHash;
property issuerKeyHash: OctetString read get_issuerKeyHash write set_issuerKeyHash;
property serialNumber: iASN1Integer read get_serialNumber;
inherits from tASN1CustomStruct
implements iCertID
function Equals(const aCertID: iCertID): Boolean; reintroduce;
property hashAlgorithm: ObjectIdentifier read get_hashAlgorithm write set_hashAlgorithm;
property issuerNameHash: OctetString read get_issuerNameHash write set_issuerNameHash;
property issuerKeyHash: OctetString read get_issuerKeyHash write set_issuerKeyHash;
property serialNumber: iASN1Integer read get_serialNumber;
inherits from tASN1CustomStruct
tOCSPAlgorithmIdentifier AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER, parameters NULL OPTIONAL A minimal AlgorithmIdentifier suitable for the CertID hash algorithm (a digest algorithm whose parameters are absent or NULL).
(no public members)
inherits from iASN1CustomStruct
iRequest / tRequest Request ::= SEQUENCE {
reqCert CertID, singleRequestExtensions [0] EXPLICIT Extensions OPTIONAL
function get_reqCert: iCertID;
function get_singleRequestExtensions: iExtensions;
property reqCert: iCertID read get_reqCert;
property singleRequestExtensions: iExtensions read get_singleRequestExtensions;
inherits from tASN1CustomStruct
implements iRequest
property reqCert: iCertID read get_reqCert;
property singleRequestExtensions: iExtensions read get_singleRequestExtensions;
inherits from tASN1CustomOFStruct
(no public members)
inherits from iASN1CustomStruct
iTBSRequest / tTBSRequest TBSRequest ::= SEQUENCE {
version [0] EXPLICIT Version DEFAULT v1,
requestorName [1] EXPLICIT GeneralName OPTIONAL,
requestList SEQUENCE OF Request, requestExtensions [2] EXPLICIT Extensions OPTIONAL
function get_requestorName: iGeneralName;
function get_requestExtensions: iExtensions;
function get_requestCount: Integer;
function get_requests(aIndex: Integer): iRequest;
function AddRequest: iRequest;
property requestorName: iGeneralName read get_requestorName;
property requestExtensions: iExtensions read get_requestExtensions;
property requestCount: Integer read get_requestCount;
property requests[aIndex: Integer]: iRequest read get_requests;
inherits from tASN1CustomStruct
implements iTBSRequest
function AddRequest: iRequest;
property requestorName: iGeneralName read get_requestorName;
property requestExtensions: iExtensions read get_requestExtensions;
property requestCount: Integer read get_requestCount;
property requests[aIndex: Integer]: iRequest read get_requests;
inherits from iASN1CustomStruct
iSignature / tSignature Signature ::= SEQUENCE {
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING,
certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL Models the optional request signature. The client implemented here never signs requests; the type is provided for syntactic completeness.
function get_signatureAlgorithm: iSignatureAlgorithmIdentifier;
function get_signature: iASN1Base;
property signatureAlgorithm: iSignatureAlgorithmIdentifier read get_signatureAlgorithm;
property signature: iASN1Base read get_signature;
inherits from tASN1CustomStruct
implements iSignature
property signatureAlgorithm: iSignatureAlgorithmIdentifier read get_signatureAlgorithm;
property signature: iASN1Base read get_signature;
inherits from iASN1CustomStruct
iOCSPRequest / tOCSPRequest OCSPRequest ::= SEQUENCE {
tbsRequest TBSRequest,
optionalSignature [0] EXPLICIT Signature OPTIONAL The top level request structure that is DER encoded and posted to the responder.
function get_tbsRequest: iTBSRequest;
function get_optionalSignature: iSignature;
property tbsRequest: iTBSRequest read get_tbsRequest;
property optionalSignature: iSignature read get_optionalSignature;
inherits from tASN1CustomStruct
implements iOCSPRequest
property tbsRequest: iTBSRequest read get_tbsRequest;
property optionalSignature: iSignature read get_optionalSignature;
inherits from tASN1CustomOFStruct
(no public members)
inherits from iASN1CustomStruct
iRevokedInfo / tRevokedInfo RevokedInfo ::= SEQUENCE {
revocationTime GeneralizedTime,
revocationReason [0] EXPLICIT CRLReason OPTIONAL
function get_revocationTime: TDateTime;
function get_hasRevocationReason: Boolean;
function get_revocationReason: Integer;
property revocationTime: TDateTime read get_revocationTime;
property hasRevocationReason: Boolean read get_hasRevocationReason;
property revocationReason: Integer read get_revocationReason;
inherits from tASN1CustomStruct
implements iRevokedInfo
property revocationTime: TDateTime read get_revocationTime;
property hasRevocationReason: Boolean read get_hasRevocationReason;
property revocationReason: Integer read get_revocationReason;
inherits from iASN1CustomChoice
iCertStatusChoice / tCertStatusChoice CertStatus ::= CHOICE {
good [0] IMPLICIT NULL, revoked [1] IMPLICIT RevokedInfo, unknown [2] IMPLICIT UnknownInfo
function get_Choice: tOCSPCertStatusEnum;
function get_AsRevoked: iRevokedInfo;
property Choice: tOCSPCertStatusEnum read get_Choice;
property AsRevoked: iRevokedInfo read get_AsRevoked;
inherits from tASN1CustomChoice
implements iCertStatusChoice
property Choice: tOCSPCertStatusEnum read get_Choice;
property AsRevoked: iRevokedInfo read get_AsRevoked;
inherits from iASN1CustomStruct
iSingleResponse / tSingleResponse SingleResponse ::= SEQUENCE {
certID CertID,
certStatus CertStatus,
thisUpdate GeneralizedTime,
nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL, singleExtensions [1] EXPLICIT Extensions OPTIONAL
function get_certID: iCertID;
function get_certStatus: iCertStatusChoice;
function get_thisUpdate: TDateTime;
function get_hasNextUpdate: Boolean;
function get_nextUpdate: TDateTime;
property certID: iCertID read get_certID;
property certStatus: iCertStatusChoice read get_certStatus;
property thisUpdate: TDateTime read get_thisUpdate;
property hasNextUpdate: Boolean read get_hasNextUpdate;
property nextUpdate: TDateTime read get_nextUpdate;
inherits from tASN1CustomStruct
implements iSingleResponse
property certID: iCertID read get_certID;
property certStatus: iCertStatusChoice read get_certStatus;
property thisUpdate: TDateTime read get_thisUpdate;
property hasNextUpdate: Boolean read get_hasNextUpdate;
property nextUpdate: TDateTime read get_nextUpdate;
inherits from tASN1CustomOFStruct
(no public members)
inherits from iASN1CustomChoice
iResponderID / tResponderID ResponderID ::= CHOICE {
byName [1] Name,
byKey [2] KeyHash
function get_Choice: tOCSPResponderIDEnum;
function get_AsByName: iName;
function get_AsByKey: OctetString;
property Choice: tOCSPResponderIDEnum read get_Choice;
property AsByName: iName read get_AsByName;
property AsByKey: OctetString read get_AsByKey;
inherits from tASN1CustomChoice
implements iResponderID
property Choice: tOCSPResponderIDEnum read get_Choice;
property AsByName: iName read get_AsByName;
property AsByKey: OctetString read get_AsByKey;
inherits from iASN1CustomStruct
iResponseData / tResponseData ResponseData ::= SEQUENCE {
version [0] EXPLICIT Version DEFAULT v1,
responderID ResponderID,
producedAt GeneralizedTime,
responses SEQUENCE OF SingleResponse, responseExtensions [1] EXPLICIT Extensions OPTIONAL The to-be-signed part of a BasicOCSPResponse.
function get_responderID: iResponderID;
function get_producedAt: TDateTime;
function get_responseCount: Integer;
function get_responses(aIndex: Integer): iSingleResponse;
function get_responseExtensions: iExtensions;
property responderID: iResponderID read get_responderID;
property producedAt: TDateTime read get_producedAt;
property responseCount: Integer read get_responseCount;
property responses[aIndex: Integer]: iSingleResponse read get_responses;
property responseExtensions: iExtensions read get_responseExtensions;
inherits from tASN1CustomStruct
implements iResponseData
property responderID: iResponderID read get_responderID;
property producedAt: TDateTime read get_producedAt;
property responseCount: Integer read get_responseCount;
property responses[aIndex: Integer]: iSingleResponse read get_responses;
property responseExtensions: iExtensions read get_responseExtensions;
inherits from iSigned
iBasicOCSPResponse / tBasicOCSPResponse BasicOCSPResponse ::= SEQUENCE {
tbsResponseData ResponseData,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING,
certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL Descends from tSigned so the response signature can be verified with the inherited CheckSignature method, exactly as a certificate or CRL is.
function get_tbsResponseData: iResponseData;
function get_certificateCount: Integer;
function get_certificates(aIndex: Integer): iCertificate;
property tbsResponseData: iResponseData read get_tbsResponseData;
property certificateCount: Integer read get_certificateCount;
property certificates[aIndex: Integer]: iCertificate read get_certificates;
inherits from tSigned
implements iBasicOCSPResponse
property tbsResponseData: iResponseData read get_tbsResponseData;
property certificateCount: Integer read get_certificateCount;
property certificates[aIndex: Integer]: iCertificate read get_certificates;
inherits from iASN1CustomStruct
iResponseBytes / tResponseBytes ResponseBytes ::= SEQUENCE {
responseType OBJECT IDENTIFIER,
response OCTET STRING
function get_responseType: ObjectIdentifier;
function get_response: OctetString;
property responseType: ObjectIdentifier read get_responseType;
property response: OctetString read get_response;
inherits from tASN1CustomStruct
implements iResponseBytes
property responseType: ObjectIdentifier read get_responseType;
property response: OctetString read get_response;
inherits from iASN1CustomStruct
iOCSPResponse / tOCSPResponse OCSPResponse ::= SEQUENCE {
responseStatus OCSPResponseStatus,
responseBytes [0] EXPLICIT ResponseBytes OPTIONAL The top level response structure as received from the responder.
function get_responseStatus: tOCSPResponseStatus;
function get_hasResponseBytes: Boolean;
function get_responseBytes: iResponseBytes;
function GetBasicResponse: iBasicOCSPResponse;
property responseStatus: tOCSPResponseStatus read get_responseStatus;
property hasResponseBytes: Boolean read get_hasResponseBytes;
property responseBytes: iResponseBytes read get_responseBytes;
inherits from tASN1CustomStruct
implements iOCSPResponse
function GetBasicResponse: iBasicOCSPResponse;
property responseStatus: tOCSPResponseStatus read get_responseStatus;
property hasResponseBytes: Boolean read get_hasResponseBytes;
property responseBytes: iResponseBytes read get_responseBytes;
TRevocationPolicy governs how certificate revocation is checked and, in particular, what happens when the status cannot be established (the responder or CRL distribution point is unreachable, no fresh CRL is held, an OCSP error occurs, ...). A DEFINITE "revoked" verdict is always honoured regardless of policy; the policy only decides the INCONCLUSIVE case. Declared here (in the OCSP base unit) rather than in a component unit so that BOTH the Mobile component layer (StreamSec.Mobile.X509Comp) AND the DSI filter/key-manager layer (StreamSec.DSI.PkixKeyFilter) can reach it from their interface sections; the DSI classes are used client- and server-side.
tOCSPResponseStatus The OCSPResponseStatus ENUMERATED (RFC 6960 4.2.1).
tOCSPCertStatusEnum Discriminator for the CertStatus CHOICE. The leading ocsUndefined entry keeps the value/ChoiceIndex relation that the PKIX CHOICE classes rely on (the wire choice index is Ord(value) - 1).
tOCSPResponderIDEnum Discriminator for the ResponderID CHOICE (byName / byKey).