Certificate class

Represents a TLS certificate. chain and key are expected to be the bytes of the file to not add any dependency on how to read the file.

Constructors

Certificate({required List<int> chain, required List<int> key, String password = "dartdart"})
Certificate.included()
factory
Certificate.make({required dynamic serverChain, required dynamic serverKey})
factory

Properties

chain List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key List<int>
getter/setter pair
password String
getter/setter pair
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