Uses of Class
net.i2p.data.Certificate
| 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.data |
These classes define the common data structures used by the various
I2P protocols.
|
| net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
| net.i2p.router.message |
Creates and parses garlic messages.
|
-
Uses of Certificate in net.i2p.client
Methods in net.i2p.client with parameters of type Certificate Modifier and Type Method Description DestinationI2PClient. createDestination(OutputStream destKeyStream, Certificate cert)Create a new destination with the given certificate and store it, along with the private encryption and signing keys at the specified location Caller must close stream.DestinationI2PSimpleClient. createDestination(OutputStream destKeyStream, Certificate cert)Deprecated.Don't do this -
Uses of Certificate in net.i2p.client.impl
Methods in net.i2p.client.impl with parameters of type Certificate Modifier and Type Method Description DestinationI2PClientImpl. createDestination(OutputStream destKeyStream, Certificate cert)Create the destination with the given payload and write it out along with the PrivateKey and SigningPrivateKey to the destKeyStream If cert is a KeyCertificate, the signing keypair will be of the specified type. -
Uses of Certificate in net.i2p.data
Subclasses of Certificate in net.i2p.data Modifier and Type Class Description classKeyCertificateThis certificate type gets its own class because it's going to be used a lot.Fields in net.i2p.data declared as Certificate Modifier and Type Field Description protected CertificateKeysAndCert. _certificatestatic CertificateCertificate. NULL_CERTMethods in net.i2p.data that return Certificate Modifier and Type Method Description static CertificateCertificate. create(byte[] data, int off)If null, P256 key, or Ed25519 key cert, return immutable static instance, else create newstatic CertificateCertificate. create(InputStream in)If null, P256 key, or Ed25519 key cert, return immutable static instance, else create newCertificateKeysAndCert. getCertificate()CertificatePrivateKeyFile. setCertType(int t)Change cert type - caller must also call write().CertificatePrivateKeyFile. setHashCashCert(int effort)change to hashcash cert - caller must also call write()CertificatePrivateKeyFile. setKeyCert(SigType type)Change cert type - caller must also call write().CertificatePrivateKeyFile. setSignedCert(PrivateKeyFile pkf2)sign this dest by dest found in pkf2 - caller must also call write()Methods in net.i2p.data with parameters of type Certificate Modifier and Type Method Description voidKeysAndCert. setCertificate(Certificate cert)Constructors in net.i2p.data with parameters of type Certificate Constructor Description KeyCertificate(Certificate cert)Up-convert a cert to this classPrivateKeyFile(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 Certificate in net.i2p.data.i2np
Methods in net.i2p.data.i2np that return Certificate Modifier and Type Method Description CertificateGarlicClove. getCertificate()Methods in net.i2p.data.i2np with parameters of type Certificate Modifier and Type Method Description voidGarlicClove. setCertificate(Certificate cert) -
Uses of Certificate in net.i2p.router.message
Methods in net.i2p.router.message that return Certificate Modifier and Type Method Description CertificateCloveSet. getCertificate()CertificateGarlicConfig. getCertificate()Certificate for the getRecipient() to pay for their processingConstructors in net.i2p.router.message with parameters of type Certificate Constructor Description CloveSet(GarlicClove[] cloves, Certificate cert, long msgId, long expiration)GarlicConfig(List<GarlicConfig> cloveConfigs, Certificate cert, long id, long expiration, DeliveryInstructions di)GarlicConfig(Certificate cert, long id, long expiration, DeliveryInstructions di)PayloadGarlicConfig(Certificate cert, long id, long expiration, DeliveryInstructions di, I2NPMessage message)