OcspClient class
OCSP client-side helper:
- builds OCSP requests (DER)
- reads OCSP responses (DER) for a specific certificate.
Constructors
- OcspClient(OpenSSL _context)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildRequestDer(
{required Pointer< X509> certificate, required Pointer<X509> issuerCertificate, String hashAlgorithm = 'SHA1', int? nonceLength}) → Uint8List -
Builds a DER-encoded OCSP request for
certificate/issuerCertificate. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readResponseStatus(
{required Uint8List responseDer, required Pointer< X509> certificate, required Pointer<X509> issuerCertificate, String hashAlgorithm = 'SHA1', bool requireSuccessfulResponse = true}) → OcspCertificateStatusResult -
Parses
responseDerand extracts status forcertificate/issuerCertificate. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited