X509CertificatePublicKeyData class

Model that a public key from a X509Certificate

Annotations
  • @JsonSerializable(includeIfNull: false, explicitToJson: true)

Constructors

X509CertificatePublicKeyData({String? algorithm, int? length, String? sha1Thumbprint, String? sha256Thumbprint, String? bytes, Uint8List? plainSha1, String? algorithmReadableName, String? parameter, String? parameterReadableName, int? exponent})
X509CertificatePublicKeyData.fromJson(Map<String, dynamic> json)
factory
X509CertificatePublicKeyData.fromSubjectPublicKeyInfo(SubjectPublicKeyInfo info)

Properties

algorithm String?
The algorithm of the public key
getter/setter pair
algorithmReadableName String?
The readable name of the algorithm
getter/setter pair
bytes String?
The bytes representing the public key as String
getter/setter pair
exponent int?
The exponent used on a RSA public key
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length int?
The key length of the public key
getter/setter pair
parameter String?
The parameter of the public key
getter/setter pair
parameterReadableName String?
The readable name of the parameter
getter/setter pair
plainSha1 Uint8List?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha1Thumbprint String?
The sha1 thumbprint of the public key
getter/setter pair
sha256Thumbprint String?
The sha256 thumbprint of the public key
getter/setter pair

Methods

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

Operators

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

Static Methods

plainSha1FromJson(List<int>? json) Uint8List?
plainSha1ToJson(Uint8List? object) List<int>?