SecureBlackbox Lite 2020 Kotlin 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
ByteArray?

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 constructor(bytes: ByteArray?, startIndex: Int, count: Int)

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 constructor(location: String?)

Downloads an OCSP response from a remote location.

public constructor(stream: InputStream?)

Initializes the response with the data from a stream.

public constructor()

Creates an empty OCSP response object.

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