pubdev/dartssh/identity library
Classes
- ECDSAKey
- https://tools.ietf.org/html/rfc5656#section-3.1
- ECDSASignature
- https://tools.ietf.org/html/rfc5656#section-3.1.2
- Ed25519Key
- https://tools.ietf.org/html/draft-ietf-curdle-ssh-ed25519-02#section-4
- Ed25519Signature
- https://tools.ietf.org/html/draft-ietf-curdle-ssh-ed25519-02#section-6
- Identity
- RSAKey
- https://tools.ietf.org/html/rfc4253#section-6.6
- RSASignature
- https://tools.ietf.org/html/rfc4253#section-6.6
Functions
-
verifyECDSASignature(
int keyType, ECDSAKey publicKey, ECDSASignature signature, Uint8List message) → bool -
Verifies ECDSA
signature
onmessage
with private key matchingpublicKey
. -
verifyEd25519Signature(
Ed25519Key publicKey, Ed25519Signature signature, Uint8List message) → bool -
Verifies Ed25519
signature
onmessage
with private key matchingpublicKey
. -
verifyRSASignature(
RSAKey publicKey, RSASignature signature, Uint8List message) → bool -
Verifies RSA
signature
onmessage
with private key matchingpublicKey
.