Uses of Class
net.i2p.data.SigningPrivateKey
-
Packages that use SigningPrivateKey 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.naming Provides a standard way for querying the local naming service to resolve a name into aDestination(without the complexity of JNDI).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.i2ptunnel.web The UI for adding tunnels and editing their configurations, implemented as a webapp packaged in i2ptunnel.war.net.i2p.router The I2P router application handles the I2P network communication.net.i2p.router.startup The I2P startup package loads the configuration when I2P is started.net.i2p.util These classes define the several useful utilities used throughout the router and applications. -
-
Uses of SigningPrivateKey in net.i2p.client
Methods in net.i2p.client that return SigningPrivateKey Modifier and Type Method Description SigningPrivateKeyI2PSession. getPrivateKey()Retrieve the signing SigningPrivateKey associated with the Destination. -
Uses of SigningPrivateKey in net.i2p.client.impl
Methods in net.i2p.client.impl that return SigningPrivateKey Modifier and Type Method Description SigningPrivateKeyI2PSessionImpl. getPrivateKey()Retrieve the signing SigningPrivateKey.Methods in net.i2p.client.impl with parameters of type SigningPrivateKey Modifier and Type Method Description voidI2CPMessageProducer. createLeaseSet(I2PSessionImpl session, LeaseSet leaseSet, SigningPrivateKey signingPriv, List<PrivateKey> privs)In response to a RequestLeaseSet Message from the router, send a CreateLeaseset Message back to the router. -
Uses of SigningPrivateKey in net.i2p.client.naming
Methods in net.i2p.client.naming with parameters of type SigningPrivateKey Modifier and Type Method Description voidHostTxtEntry. sign(SigningPrivateKey spk)Sign and set the "sig" property Must have been constructed with non-null properties.voidHostTxtEntry. signInner(SigningPrivateKey spk)Sign and set the "oldsig" property Must have been constructed with non-null properties.voidHostTxtEntry. signRemove(SigningPrivateKey spk)Sign as a "remove" line #!dest=dest#name=name#k1=v1#sig=sig...] Must have been constructed with non-null properties. -
Uses of SigningPrivateKey in net.i2p.crypto
Subclasses of SigningPrivateKey in net.i2p.crypto Modifier and Type Class Description (package private) classRSASigningPrivateCrtKeyA SigningPrivateKey that retains the Chinese Remainder Theorem parameters, so it can be converted back to a Java CRT key.Methods in net.i2p.crypto that return SigningPrivateKey Modifier and Type Method Description static SigningPrivateKeyBlinding. blind(SigningPrivateKey key, SigningPrivateKey alpha)Only for SigTypes EdDSA_SHA512_Ed25519 and RedDSA_SHA512_Ed25519.static SigningPrivateKeySigUtil. fromJavaKey(DSAPrivateKey pk)static SigningPrivateKeySigUtil. fromJavaKey(ECPrivateKey pk, SigType type)static SigningPrivateKeySigUtil. fromJavaKey(RSAPrivateKey pk, SigType type)As of 0.9.31, if pk is a RSAPrivateCrtKey, this will return a RSASigningPrivateCrtKey.static SigningPrivateKeySigUtil. fromJavaKey(PrivateKey pk)Use if SigType is unknown.static SigningPrivateKeySigUtil. fromJavaKey(PrivateKey pk, SigType type)Use if SigType is known.static SigningPrivateKeySigUtil. fromJavaKey(EdDSAPrivateKey pk, SigType type)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 SigningPrivateKeyBlinding. unblind(SigningPrivateKey key, SigningPrivateKey alpha)Only for SigType EdDSA_SHA512_Ed25519.Methods in net.i2p.crypto with parameters of type SigningPrivateKey Modifier and Type Method Description static SigningPrivateKeyBlinding. blind(SigningPrivateKey key, SigningPrivateKey alpha)Only for SigTypes EdDSA_SHA512_Ed25519 and RedDSA_SHA512_Ed25519.static SigningPublicKeyBlinding. blind(SigningPublicKey key, SigningPrivateKey alpha)Only for SigTypes EdDSA_SHA512_Ed25519 and RedDSA_SHA512_Ed25519.static X509CertificateSelfSignedGenerator. generate(SigningPrivateKey priv, String cname, int validDays)Create a self-signed certificate for the existing private key.static SigningPublicKeyKeyGenerator. getSigningPublicKey(SigningPrivateKey priv)Convert a SigningPrivateKey to a SigningPublicKey.SignatureDSAEngine. sign(byte[] data, int offset, int length, SigningPrivateKey signingKey)Sign using any key type as of 0.9.12 (DSA-SHA1 only prior to that)SignatureDSAEngine. sign(byte[] data, SigningPrivateKey signingKey)Sign using any key type.SignatureDSAEngine. sign(InputStream in, SigningPrivateKey signingKey)Sign using DSA-SHA1 ONLY.SignatureDSAEngine. sign(SHA1Hash hash, SigningPrivateKey signingKey)Sign using DSA-SHA1 ONLY.SignatureDSAEngine. sign(Hash hash, SigningPrivateKey signingKey)Nonstandard.SignatureDSAEngine. sign(SimpleDataStructure hash, SigningPrivateKey signingKey)Generic signature type.SignatureTrustedUpdate. sign(String inputFile, String signedFile, SigningPrivateKey signingPrivateKey, String version)Uses the givenSigningPrivateKeyto sign the given input file along with its version string using DSA.static DSAPrivateKeySigUtil. toJavaDSAKey(SigningPrivateKey pk)static ECPrivateKeySigUtil. toJavaECKey(SigningPrivateKey pk)static EdDSAPrivateKeySigUtil. toJavaEdDSAKey(SigningPrivateKey pk)static PrivateKeySigUtil. toJavaKey(SigningPrivateKey pk)static RSAPrivateKeySigUtil. toJavaRSAKey(SigningPrivateKey pk)As of 0.9.31, if pk is a RSASigningPrivateCrtKey, this will return a RSAPrivateCrtKey.static SigningPrivateKeyBlinding. unblind(SigningPrivateKey key, SigningPrivateKey alpha)Only for SigType EdDSA_SHA512_Ed25519. -
Uses of SigningPrivateKey in net.i2p.data
Fields in net.i2p.data declared as SigningPrivateKey Modifier and Type Field Description protected SigningPrivateKeyPrivateKeyFile. signingPrivKeyMethods in net.i2p.data that return SigningPrivateKey Modifier and Type Method Description SigningPrivateKeySigningPrivateKey. blind(SigningPrivateKey alpha)Only for SigType EdDSA_SHA512_Ed25519SigningPrivateKeyBlindData. getAlpha()SigningPrivateKeyPrivateKeyFile. getSigningPrivKey()SigningPrivateKeyPrivateKeyFile. getTransientSigningPrivKey()Methods in net.i2p.data with parameters of type SigningPrivateKey Modifier and Type Method Description SigningPrivateKeySigningPrivateKey. blind(SigningPrivateKey alpha)Only for SigType EdDSA_SHA512_Ed25519SigningPublicKeySigningPublicKey. blind(SigningPrivateKey alpha)Only for SigType EdDSA_SHA512_Ed25519static 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 keyvoidDatabaseEntry. sign(SigningPrivateKey key)Sign the structure using the supplied signing keyvoidEncryptedLeaseSet. sign(SigningPrivateKey key)Sign the structure using the supplied signing key.voidEncryptedLeaseSet. sign(SigningPrivateKey key, int authType, List<? extends SimpleDataStructure> clientKeys)Sign the structure using the supplied signing key.voidLeaseSet2. sign(SigningPrivateKey key)Sign the structure using the supplied signing key.Constructors in net.i2p.data with parameters of type SigningPrivateKey Constructor Description PrivateKeyFile(File file, Destination dest, PrivateKey pk, SigningPrivateKey spk)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 SigningPrivateKey in net.i2p.data.i2cp
Methods in net.i2p.data.i2cp that return SigningPrivateKey Modifier and Type Method Description SigningPrivateKeyCreateLeaseSetMessage. getSigningPrivateKey()Methods in net.i2p.data.i2cp with parameters of type SigningPrivateKey Modifier and Type Method Description voidCreateLeaseSetMessage. setSigningPrivateKey(SigningPrivateKey key)voidSessionConfig. signSessionConfig(SigningPrivateKey signingKey)Sign the structure using the supplied private key -
Uses of SigningPrivateKey in net.i2p.i2ptunnel.web
Methods in net.i2p.i2ptunnel.web that return SigningPrivateKey Modifier and Type Method Description SigningPrivateKeyEditBean. getSigningPrivateKey(int tunnel) -
Uses of SigningPrivateKey in net.i2p.router
Methods in net.i2p.router that return SigningPrivateKey Modifier and Type Method Description SigningPrivateKeyLeaseSetKeys. getRevocationKey()Key with which a LeaseSet can be revoked (by republishing it with no Leases) Deprecated, unusedSigningPrivateKeyKeyManager. getSigningPrivateKey()Router keyMethods in net.i2p.router with parameters of type SigningPrivateKey Modifier and Type Method Description voidKeyManager. registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, List<PrivateKey> endpointDecryptionKeys)Client with multiple keysvoidKeyManager. registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, PrivateKey endpointDecryptionKey)Client with a single keyvoidKeyManager. setKeys(PublicKey key1, PrivateKey key2, SigningPublicKey key3, SigningPrivateKey key4)Configure the router's keys.Constructors in net.i2p.router with parameters of type SigningPrivateKey Constructor Description LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, List<PrivateKey> decryptionKeys)Client with multiple keysLeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)Client with a single key -
Uses of SigningPrivateKey in net.i2p.router.startup
Fields in net.i2p.router.startup declared as SigningPrivateKey Modifier and Type Field Description SigningPrivateKeyLoadRouterInfoJob.KeyData. signingPrivateKeyConstructors in net.i2p.router.startup with parameters of type SigningPrivateKey Constructor Description KeyData(RouterIdentity ri, PrivateKey pk, SigningPrivateKey spk) -
Uses of SigningPrivateKey in net.i2p.util
Methods in net.i2p.util with parameters of type SigningPrivateKey Modifier and Type Method Description SignatureByteArrayStream. sign(SigningPrivateKey signingKey)Sign the written dataSignatureByteArrayStream. sign(I2PAppContext ctx, SigningPrivateKey signingKey)Sign the written data
-