CertificateSigningRequestSpec class

CertificateSigningRequestSpec contains the certificate request.

Constructors

CertificateSigningRequestSpec({int? expirationSeconds, Map<String, List<String>>? extra, List<String>? groups, required String request, required String signerName, String? uid, List<String>? usages, String? username})
The main constructor.
const
CertificateSigningRequestSpec.fromJson(Map<String, dynamic> json)
Creates a CertificateSigningRequestSpec from JSON data.

Properties

expirationSeconds int?
ExpirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.
final
extra Map<String, List<String>>?
Extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
final
groups List<String>?
Groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
final
hashCode int
The hash code for this object.
no setterinherited
request String
Request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signerName String
SignerName indicates the requested signer, and is a qualified name.
final
uid String?
Uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
final
usages List<String>?
Usages specifies a set of key usages requested in the issued certificate.
final
username String?
Username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a CertificateSigningRequestSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<CertificateSigningRequestSpec>
Creates a list of CertificateSigningRequestSpec from JSON data.