Uses of Class
net.i2p.data.SigningPublicKey
- 
Packages that use SigningPublicKey Package Description net.i2p.client Interfaces and factories for the base I2P SDK used to develop applications that communicate through I2P.net.i2p.client.impl Implements the base I2P SDK for developing applications that communicate through I2P.net.i2p.client.streaming.impl Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.net.i2p.crypto These classes provide a number of low-level cryptographic routines.net.i2p.data These classes define the common data structures used by the various I2P protocols.net.i2p.data.i2cp The Invisible Internet Client Protocol (I2CP) allows applications simplified access to the I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).net.i2p.router The I2P router application handles the I2P network communication.net.i2p.router.networkdb.kademlia The network database, including implementation of floodfills.net.i2p.util These classes define the several useful utilities used throughout the router and applications.
- 
- 
Uses of SigningPublicKey in net.i2p.clientMethods in net.i2p.client that return SigningPublicKey Modifier and Type Method Description SigningPublicKeyI2PSession. getTransientSigningPublicKey()
- 
Uses of SigningPublicKey in net.i2p.client.implFields in net.i2p.client.impl declared as SigningPublicKey Modifier and Type Field Description protected SigningPublicKeyI2PSessionImpl. _transientSigningPublicKeyMethods in net.i2p.client.impl that return SigningPublicKey Modifier and Type Method Description SigningPublicKeyI2PSessionImpl. getTransientSigningPublicKey()
- 
Uses of SigningPublicKey in net.i2p.client.streaming.implFields in net.i2p.client.streaming.impl declared as SigningPublicKey Modifier and Type Field Description protected SigningPublicKeyPacket. _transientSigningPublicKeyMethods in net.i2p.client.streaming.impl that return SigningPublicKey Modifier and Type Method Description SigningPublicKeyConnection. getRemoteSPK()The key to verify signatures with.SigningPublicKeyPacket. getTransientSPK()Only if an offline signing block was included, else nullMethods in net.i2p.client.streaming.impl with parameters of type SigningPublicKey Modifier and Type Method Description voidConnection. setRemoteTransientSPK(SigningPublicKey transientSPK)booleanPacket. verifySignature(I2PAppContext ctx, SigningPublicKey altSPK, byte[] buffer)Determine whether the signature on the data is valid.
- 
Uses of SigningPublicKey in net.i2p.cryptoMethods in net.i2p.crypto that return SigningPublicKey Modifier and Type Method Description static SigningPublicKeyBlinding. blind(SigningPublicKey key, SigningPrivateKey alpha)Only for SigTypes EdDSA_SHA512_Ed25519 and RedDSA_SHA512_Ed25519.static SigningPublicKeySigUtil. fromJavaKey(DSAPublicKey pk)static SigningPublicKeySigUtil. fromJavaKey(ECPublicKey pk, SigType type)static SigningPublicKeySigUtil. fromJavaKey(RSAPublicKey pk, SigType type)static SigningPublicKeySigUtil. fromJavaKey(PublicKey pk)Use if SigType is unknown.static SigningPublicKeySigUtil. fromJavaKey(PublicKey pk, SigType type)Use if SigType is known.static SigningPublicKeySigUtil. fromJavaKey(EdDSAPublicKey pk, SigType type)static SigningPublicKeyKeyGenerator. getSigningPublicKey(SigningPrivateKey priv)Convert a SigningPrivateKey to a SigningPublicKey.Methods in net.i2p.crypto that return types with arguments of type SigningPublicKey Modifier and Type Method Description Map<SigningPublicKey,String>TrustedUpdate. getKeys()Methods in net.i2p.crypto with parameters of type SigningPublicKey Modifier and Type Method Description static SigningPublicKeyBlinding. blind(SigningPublicKey key, SigningPrivateKey alpha)Only for SigTypes EdDSA_SHA512_Ed25519 and RedDSA_SHA512_Ed25519.static StringBlinding. encode(SigningPublicKey key)Encode a public key as a new-format b32 address.static StringBlinding. encode(SigningPublicKey key, boolean requireSecret, boolean requireAuth)Encode a public key as a new-format b32 address.static SigningPrivateKeyBlinding. generateAlpha(I2PAppContext ctx, SigningPublicKey destspk, String secret)Generate alpha for current time.static SigningPrivateKeyBlinding. generateAlpha(I2PAppContext ctx, SigningPublicKey destspk, String secret, long now)Generate alpha for the given time.static DSAPublicKeySigUtil. toJavaDSAKey(SigningPublicKey pk)static ECPublicKeySigUtil. toJavaECKey(SigningPublicKey pk)static EdDSAPublicKeySigUtil. toJavaEdDSAKey(SigningPublicKey pk)static PublicKeySigUtil. toJavaKey(SigningPublicKey pk)static RSAPublicKeySigUtil. toJavaRSAKey(SigningPublicKey pk)Deprecated.unusedbooleanTrustedUpdate. verify(File signedFile, SigningPublicKey signingPublicKey)Verifies the DSA signature of a signed update file.booleanDSAEngine. verifySignature(Signature signature, byte[] signedData, int offset, int size, SigningPublicKey verifyingKey)Verify using any sig type as of 0.9.12 (DSA only prior to that)booleanDSAEngine. verifySignature(Signature signature, byte[] signedData, SigningPublicKey verifyingKey)Verify using any sig type.booleanDSAEngine. verifySignature(Signature signature, InputStream in, SigningPublicKey verifyingKey)Verify using DSA-SHA1 ONLYbooleanDSAEngine. verifySignature(Signature signature, SHA1Hash hash, SigningPublicKey verifyingKey)Verify using DSA-SHA1 ONLYbooleanDSAEngine. verifySignature(Signature signature, Hash hash, SigningPublicKey verifyingKey)Nonstandard.booleanDSAEngine. verifySignature(Signature signature, SimpleDataStructure hash, SigningPublicKey verifyingKey)Generic signature type.
- 
Uses of SigningPublicKey in net.i2p.dataFields in net.i2p.data declared as SigningPublicKey Modifier and Type Field Description protected SigningPublicKeyKeysAndCert. _signingKeyprotected SigningPublicKeyLeaseSet. _signingKeyprotected SigningPublicKeyLeaseSet2. _transientSigningPublicKeyMethods in net.i2p.data that return SigningPublicKey Modifier and Type Method Description SigningPublicKeySigningPublicKey. blind(SigningPrivateKey alpha)Only for SigType EdDSA_SHA512_Ed25519static SigningPublicKeySigningPublicKey. create(byte[] data, int off)Pull from cache or return new.static SigningPublicKeySigningPublicKey. create(InputStream in)Pull from cache or return newSigningPublicKeyBlindData. getBlindedPubKey()SigningPublicKeyLeaseSet. getSigningKey()The revocation key.protected SigningPublicKeyDatabaseEntry. getSigningPublicKey()Identical to getDestination().getSigningPublicKey() in LeaseSet, and getIdentity().getSigningPublicKey() in RouterInfo.protected SigningPublicKeyEncryptedLeaseSet. getSigningPublicKey()Overridden to return the blinded key so super.verifySignature() will work.SigningPublicKeyKeysAndCert. getSigningPublicKey()SigningPublicKeyLeaseSet2. getTransientSigningKey()SigningPublicKeyPrivateKeyFile. getTransientSigningPubKey()SigningPublicKeyBlindData. getUnblindedPubKey()SigningPublicKeySigningPrivateKey. toPublic()Converts this signing private key to its public equivalent.SigningPublicKeySigningPublicKey. toTypedKey(KeyCertificate kcert)Up-convert this from an untyped (type 0) SPK to a typed SPK based on the Key Cert given.Methods in net.i2p.data with parameters of type SigningPublicKey Modifier and Type Method Description static booleanPrivateKeyFile. checkSignature(Signature s, byte[] data, SigningPublicKey spk)static SignatureLeaseSet2. offlineSign(long expires, SigningPublicKey transientSPK, SigningPrivateKey priv)Generate a Signature to pass to setOfflineSignature()voidPrivateKeyFile. setOfflineData(long expires, SigningPublicKey transientPub, Signature sig, SigningPrivateKey transientPriv)Side effect - zeroes out the current signing private keybooleanLeaseSet2. setOfflineSignature(long expires, SigningPublicKey transientSPK, Signature offlineSig)Destination must be previously set.voidEncryptedLeaseSet. setSigningKey(SigningPublicKey spk)Overridden to set the blinded key.voidLeaseSet. setSigningKey(SigningPublicKey key)The revocation key.voidLeaseSet2. setSigningKey(SigningPublicKey key)The revocation key.voidKeysAndCert. setSigningPublicKey(SigningPublicKey key)protected booleanLeaseSet2. verifyOfflineSignature(SigningPublicKey spk)booleanLeaseSet. verifySignature(SigningPublicKey signingKey)Deprecated.revocation unusedConstructors in net.i2p.data with parameters of type SigningPublicKey Constructor Description BlindData(I2PAppContext ctx, SigningPublicKey spk, SigType blindType, String secret)BlindData(I2PAppContext ctx, SigningPublicKey spk, SigType blindType, String secret, int authType, PrivateKey authKey)KeyCertificate(SigningPublicKey spk)A KeyCertificate with crypto type 0 (ElGamal) and the signature type and extra data from the given public key.KeyCertificate(SigningPublicKey spk, PublicKey pk)A KeyCertificate with enc type from the given public key, and the signature type and extra data from the given public key.PrivateKeyFile(File file, PublicKey pubkey, SigningPublicKey spubkey, Certificate cert, PrivateKey pk, SigningPrivateKey spk)PrivateKeyFile(File file, PublicKey pubkey, SigningPublicKey spubkey, Certificate cert, PrivateKey pk, SigningPrivateKey spk, byte[] padding)
- 
Uses of SigningPublicKey in net.i2p.data.i2cpMethods in net.i2p.data.i2cp that return SigningPublicKey Modifier and Type Method Description SigningPublicKeyBlindingInfoMessage. getSigningPublicKey()SigningPublicKeySessionConfig. getTransientSigningPublicKey()Methods in net.i2p.data.i2cp with parameters of type SigningPublicKey Modifier and Type Method Description voidSessionConfig. setOfflineSignature(long expires, SigningPublicKey transientSPK, Signature offlineSig)Set the offline signing data.Constructors in net.i2p.data.i2cp with parameters of type SigningPublicKey Constructor Description BlindingInfoMessage(SigningPublicKey s, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)
- 
Uses of SigningPublicKey in net.i2p.routerMethods in net.i2p.router that return SigningPublicKey Modifier and Type Method Description SigningPublicKeyKeyManager. getSigningPublicKey()Router keyMethods in net.i2p.router with parameters of type SigningPublicKey Modifier and Type Method Description BlindDataNetworkDatabaseFacade. getBlindData(SigningPublicKey spk)booleanNetworkDatabaseFacade. removeBlindData(SigningPublicKey spk)For console ConfigKeyringHelpervoidKeyManager. setKeys(PublicKey key1, PrivateKey key2, SigningPublicKey key3, SigningPrivateKey key4)Configure the router's keys.
- 
Uses of SigningPublicKey in net.i2p.router.networkdb.kademliaMethods in net.i2p.router.networkdb.kademlia with parameters of type SigningPublicKey Modifier and Type Method Description BlindDataKademliaNetworkDatabaseFacade. getBlindData(SigningPublicKey spk)HashBlindCache. getBlindedHash(SigningPublicKey spk)The hash to lookup for a SPK known to be blinded.BlindDataBlindCache. getData(SigningPublicKey spk)The cached data or nullBlindDataBlindCache. getReverseData(SigningPublicKey spk)The cached data or nullbooleanBlindCache. removeBlindData(SigningPublicKey spk)For console ConfigKeyringHelper.booleanKademliaNetworkDatabaseFacade. removeBlindData(SigningPublicKey spk)For console ConfigKeyringHelper
- 
Uses of SigningPublicKey in net.i2p.utilMethods in net.i2p.util with parameters of type SigningPublicKey Modifier and Type Method Description booleanByteArrayStream. verifySignature(Signature signature, SigningPublicKey verifyingKey)Verify the written databooleanByteArrayStream. verifySignature(I2PAppContext ctx, Signature signature, SigningPublicKey verifyingKey)Verify the written data
 
-