Packages that use EdDSAPrivateKey
Package
Description
Core cryptographic primitives used throughout I2P: symmetric ciphers (AES, ChaCha20), hashes (SHA-1, SHA-256, SHA-384, SHA-512), HMAC and HKDF key derivation, the ElGamal and DSA/EdDSA/RedDSA engines, key and certificate utilities, and the entropy harvester.
Java implementation of EdDSA, a digital signature scheme using a variant of elliptic curve cryptography based on Twisted Edwards curves.
Uses of EdDSAPrivateKey in net.i2p.crypto
Fields in net.i2p.crypto with type parameters of type EdDSAPrivateKeyModifier and TypeFieldDescriptionprivate static final Map<SigningPrivateKey, EdDSAPrivateKey> SigUtil._EdPrivkeyCacheConverted EdDSA private keys, by signing key.Methods in net.i2p.crypto that return EdDSAPrivateKeyModifier and TypeMethodDescriptionprivate static EdDSAPrivateKeySigUtil.cvtToJavaEdDSAKey(SigningPrivateKey pk) Convert an I2P EdDSA or RedDSA private key to a Java EdDSAPrivateKey without caching.static EdDSAPrivateKeySigUtil.toJavaEdDSAKey(SigningPrivateKey pk) Convert an I2P EdDSA private key to a Java EdDSAPrivateKey, with caching.Methods in net.i2p.crypto with parameters of type EdDSAPrivateKeyModifier and TypeMethodDescriptionstatic SigningPrivateKeySigUtil.fromJavaKey(EdDSAPrivateKey pk, SigType type) Convert a Java EdDSAPrivateKey to an I2P SigningPrivateKey.Uses of EdDSAPrivateKey in net.i2p.crypto.eddsa
Methods in net.i2p.crypto.eddsa that return EdDSAPrivateKeyModifier and TypeMethodDescriptionstatic EdDSAPrivateKeyEdDSABlinding.blind(EdDSAPrivateKey key, EdDSAPrivateKey alpha) Blind an EdDSA private key.static EdDSAPrivateKeyEdDSABlinding.unblind(EdDSAPrivateKey key, EdDSAPrivateKey alpha) Unblind an EdDSA private key using alpha, the inverse ofEdDSABlinding.blind(EdDSAPrivateKey, EdDSAPrivateKey): subtracts alpha from the blinded scalar mod l.Methods in net.i2p.crypto.eddsa with parameters of type EdDSAPrivateKeyModifier and TypeMethodDescriptionstatic EdDSAPrivateKeyEdDSABlinding.blind(EdDSAPrivateKey key, EdDSAPrivateKey alpha) Blind an EdDSA private key.static EdDSAPublicKeyEdDSABlinding.blind(EdDSAPublicKey key, EdDSAPrivateKey alpha) Blind an EdDSA key.protected voidEdDSAEngine.digestInitSign(EdDSAPrivateKey privKey) Initialize the digest for signing.protected voidRedDSAEngine.digestInitSign(EdDSAPrivateKey privKey) static EdDSAPrivateKeyEdDSABlinding.unblind(EdDSAPrivateKey key, EdDSAPrivateKey alpha) Unblind an EdDSA private key using alpha, the inverse ofEdDSABlinding.blind(EdDSAPrivateKey, EdDSAPrivateKey): subtracts alpha from the blinded scalar mod l.