KeyPairType<S extends KeyPairData, P extends PublicKey> class

Static information about a key pair type.

Properties

ellipticBits int
Number of bits if this is an elliptic algorithm (for debugging purposes).
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the algorithm (for debugging purposes).
final
privateKeyLength int
Maximum private key length (in bytes).
final
publicKeyLength int
Maximum public key length (in bytes).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webCryptoCurve String?
Web Crypto curve name.
final

Methods

isValidKeyPairData(KeyPairData keyPair) bool
isValidPublicKey(PublicKey publicKey) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

ed25519 → const KeyPairType<KeyPairData, PublicKey>
Key pair type for Ed25519.
p256 → const KeyPairType<KeyPairData, PublicKey>
Key pair type for Ecdh and Ecdsa with P-256 curve.
p256k → const KeyPairType<KeyPairData, PublicKey>
Key pair type for Ecdh and Ecdsa with P-256 curve.
p384 → const KeyPairType<KeyPairData, PublicKey>
Key pair type for Ecdh and Ecdsa with P-384 curve.
p521 → const KeyPairType<KeyPairData, PublicKey>
Key pair type for Ecdh and Ecdsa with P-521 curve.
rsa → const KeyPairType<KeyPairData, PublicKey>
Key pair type for RsaPss and RsaSsaPkcs1v15.
x25519 → const KeyPairType<KeyPairData, PublicKey>
Key pair type for X25519.