PublicKey class

The public keys for a given CryptoKeyVersion.

Obtained via GetPublicKey.

Constructors

PublicKey({String? algorithm, String? name, String? pem, String? pemCrc32c, String? protectionLevel})
PublicKey.fromJson(Map json_)

Properties

algorithm String?
The Algorithm associated with this key. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the CryptoKeyVersion public key.
getter/setter pair
pem String?
A public key encoded in PEM format, populated only when GetPublicKey returns one key.
getter/setter pair
pemCrc32c String?
Integrity verification field: A CRC32C checksum of the returned PublicKey.pem.
getter/setter pair
protectionLevel String?
The ProtectionLevel of the CryptoKeyVersion public key. Possible string values are:
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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