SecureBlackbox 2020 Android Edition

Questions / Feedback?

OCSPResponse Type

Represents a single OCSP response originating from an OCSP responder.

Remarks

OCSP is a protocol that allows verification of certificate status in real-time, and is an alternative to Certificate Revocation Lists (CRL).

An OCSP response is a snapshot of the certificate status at a given time.

Fields

Bytes
byte[]

Buffer containing raw OCSP response data.

EntryCount
int

The number of SingleResponse elements contained in this OCSP response. Each SingleResponse element corresponds to a certificate status.

Issuer
String

Indicates the issuer of this response (a CA or its authorized representative).

IssuerRDN
String

Indicates the RDN of the issuer of this response (a CA or its authorized representative).

Location
String

Location of the OCSP responder.

ProducedAt
String

Specifies the time when the response was produced, in UTC.

Constructors

public OCSPResponse(byte[] bytes, int startIndex, int count);

Initializes the response from a memory buffer. Bytes is a buffer containing raw OCSP response data, StartIndex and Count specify the starting position and the number of bytes to be read from this buffer.

public OCSPResponse(String location);

Downloads an OCSP response from a remote location.

public OCSPResponse(java.io.InputStream stream);

Initializes the response with the data from a stream.

public OCSPResponse();

Creates an empty OCSP response object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Android Edition - Version 20.0 [Build 8156]