OcspResponse class
A parsed OCSP response. der keeps the original bytes for embedding the response verbatim in a /DSS /OCSPs array.
Constructors
- OcspResponse.parse(Uint8List der)
-
Parses an
OCSPResponse(the top-level structure returned over HTTP).factory
Properties
-
certificates
→ List<
X509Certificate> -
Certificates the response carried (the responder cert, for delegated
responders) - candidates for verifying the response signature.
final
- der → Uint8List
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- producedAt → DateTime?
-
final
-
responses
→ List<
OcspSingleResponse> -
final
- responseStatus → OcspResponseStatus
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forSerial(
BigInt serial) → OcspSingleResponse? -
The status this response reports for
serial, or null when the response does not cover that certificate. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signatureValid(
X509Certificate issuer) → bool -
Verifies the responder's signature over the ResponseData.
issueris the certificate that issued the certificate being checked; the responder is eitherissueritself (responses signed directly by the CA) or a delegated responder certificate carried in certificates and issued byissuer. Returns false when the signing key can't be found or the algorithm is unsupported. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited