Packages that use Certificate
Package
Description
Interfaces and factories for the base I2P SDK used to develop applications that communicate through I2P.
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. Common data structures used by the I2P protocols: Destination, LeaseSet, PublicKey, Signature, Certificate and their friends.
Low-level messages sent between routers - the Invisible Internet Network Protocol (I2NP).
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
The I2P startup package loads configuration when I2P is started.
Uses of Certificate in net.i2p.client
Methods in net.i2p.client with parameters of type CertificateModifier and TypeMethodDescriptionI2PClient.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.Uses of Certificate in net.i2p.client.impl
Methods in net.i2p.client.impl with parameters of type CertificateModifier and TypeMethodDescriptionI2PClientImpl.createDestination(OutputStream destKeyStream, Certificate cert) Create the destination with the given payload and write it out along with the PrivateKey and SigningPrivateKey to the destKeyStreamUses of Certificate in net.i2p.data
Subclasses of Certificate in net.i2p.dataModifier and TypeClassDescriptionprivate static final classAn immutable null certificate.classSpecialized certificate for defining cryptographic key types used in I2P identities.private static final classAn immutable ElG/ECDSA-256 certificate.private static final classAn immutable ElG/Ed25519 certificate.private static final classAn immutable X25519/Ed25519 certificate.Fields in net.i2p.data declared as CertificateModifier and TypeFieldDescriptionprotected CertificateKeysAndCert._certificateCertificate specifying key types and metadata.static final CertificateCertificate.NULL_CERTNull certificate singleton.Methods in net.i2p.data that return CertificateModifier and TypeMethodDescriptionstatic CertificateCertificate.create(byte[] data, int off) If null, P256 key, or Ed25519 key cert, return immutable static instance, else create new.static CertificateCertificate.create(InputStream in) If null, P256 key, or Ed25519 key cert, return immutable static instance, else create new.KeysAndCert.getCertificate()Certificate for this identity.PrivateKeyFile.setCertType(int t) Change cert type - caller must also callPrivateKeyFile.write().PrivateKeyFile.setKeyCert(SigType type) Change cert type - caller must also call write().PrivateKeyFile.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 CertificateModifier and TypeMethodDescriptionprivate KeyCertificateKeysAndCert.getKeyCertificate(Certificate cert) Up-convert the certificate to a KeyCertificate, caching the result.voidKeysAndCert.setCertificate(Certificate cert) Certificate to set.Constructors in net.i2p.data with parameters of type CertificateModifierConstructorDescriptionprivateDestination(PublicKey pk, SigningPublicKey sk, Certificate c, byte[] padding) Creates a destination from its components.KeyCertificate(Certificate cert) Up-convert a cert to this class.PrivateKeyFile(File file, PublicKey pubkey, SigningPublicKey spubkey, Certificate cert, PrivateKey pk, SigningPrivateKey spk) Create a new PrivateKeyFile from individual key components.PrivateKeyFile(File file, PublicKey pubkey, SigningPublicKey spubkey, Certificate cert, PrivateKey pk, SigningPrivateKey spk, byte[] padding) Create a new PrivateKeyFile from individual key components with padding.Uses of Certificate in net.i2p.data.i2np
Fields in net.i2p.data.i2np declared as CertificateModifier and TypeFieldDescriptionprivate CertificateGarlicClove._certificateCertificate authorizing delivery (always null certificate currently).Methods in net.i2p.data.i2np that return CertificateModifier and TypeMethodDescriptionGarlicClove.getCertificate()Certificate authorizing delivery of this clove.Methods in net.i2p.data.i2np with parameters of type CertificateModifier and TypeMethodDescriptionvoidGarlicClove.setCertificate(Certificate cert) Certificate authorizing delivery of this clove.Uses of Certificate in net.i2p.router.message
Fields in net.i2p.router.message declared as CertificateModifier and TypeFieldDescriptionprivate final CertificateCloveSet._certCertificate accompanying the cloves, if any.private final CertificateGarlicConfig._certCertificate to include, if any.Methods in net.i2p.router.message that return CertificateModifier and TypeMethodDescriptionCloveSet.getCertificate()Get the certificate.GarlicConfig.getCertificate()Certificate for theGarlicConfig.getRecipient()to pay for their processing.Constructors in net.i2p.router.message with parameters of type CertificateModifierConstructorDescriptionCloveSet(GarlicClove[] cloves, Certificate cert, long msgId, long expiration) Create a new CloveSet.protectedGarlicConfig(List<GarlicConfig> cloveConfigs, Certificate cert, long id, long expiration, DeliveryInstructions di) Creates a new GarlicConfig with existing clove configs.GarlicConfig(Certificate cert, long id, long expiration, DeliveryInstructions di) Creates a new GarlicConfig.PayloadGarlicConfig(Certificate cert, long id, long expiration, DeliveryInstructions di, I2NPMessage message) Create a garlic config wrapping the given I2NP message payload.Uses of Certificate in net.i2p.router.startup
Methods in net.i2p.router.startup that return CertificateModifier and TypeMethodDescriptionprivate static CertificateCreateRouterInfoJob.createCertificate(RouterContext ctx, SigningPublicKey spk, PublicKey pk) Only called at startup viaLoadRouterInfoJoband RebuildRouterInfoJob.