CertAndKey class

A model that holds a digital certificate and its corresponding private key.

This class is commonly used for cryptographic operations such as signing, encryption, or SSL/TLS authentication.

Constructors

CertAndKey.new({required String cert, required String key})
Creates a new instance of CertAndKey.
const

Properties

cert String
The digital certificate in PEM or base64-encoded format.
final
hashCode int
The hash code for this object.
no setterinherited
key String
The private key associated with the certificate, also in PEM or base64-encoded format.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited