## Uses of Class
net.i2p.data.Certificate

- Packages that use Certificate
  Package | Description
  --- | ---
  net.i2p.client | 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 | The Invisible Internet Network Protocol (I2NP) is only a part of how an application can send messages over the network.
  net.i2p.router | The I2P router application handles the I2P network communication.
  net.i2p.router.message |

- - ### Uses of Certificate in net.i2p.client

    Methods in net.i2p.client with parameters of type Certificate
    Modifier and Type | Method and Description
    --- | ---
    `Destination` | I2PSimpleClient.`createDestination(OutputStream destKeyStream, Certificate cert)` Deprecated. or this
    `Destination` | I2PClient.`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
    `Destination` | I2PClientImpl.`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

  - ### Uses of Certificate in net.i2p.data

    Fields in net.i2p.data declared as Certificate
    Modifier and Type | Field and Description
    --- | ---
    `protected Certificate` | KeysAndCert.`_certificate`
    `static Certificate` | Certificate.`NULL_CERT`

    Methods in net.i2p.data that return Certificate
    Modifier and Type | Method and Description
    --- | ---
    `static Certificate` | Certificate.`create(byte[] data, int off)` If null cert, return immutable static instance, else create new
    `static Certificate` | Certificate.`create(InputStream in)` If null cert, return immutable static instance, else create new
    `Certificate` | KeysAndCert.`getCertificate()`
    `Certificate` | PrivateKeyFile.`setCertType(int t)` change cert type - caller must also call write()
    `Certificate` | PrivateKeyFile.`setHashCashCert(int effort)` change to hashcash cert - caller must also call write()
    `Certificate` | 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 Certificate
    Modifier and Type | Method and Description
    --- | ---
    `void` | KeysAndCert.`setCertificate(Certificate cert)`

  - ### Uses of Certificate in net.i2p.data.i2np

    Methods in net.i2p.data.i2np that return Certificate
    Modifier and Type | Method and Description
    --- | ---
    `Certificate` | GarlicClove.`getCertificate()`

    Methods in net.i2p.data.i2np with parameters of type Certificate
    Modifier and Type | Method and Description
    --- | ---
    `void` | GarlicClove.`setCertificate(Certificate cert)`

  - ### Uses of Certificate in net.i2p.router

    Methods in net.i2p.router that return Certificate
    Modifier and Type | Method and Description
    --- | ---
    `Certificate` | Router.`createCertificate()`

  - ### Uses of Certificate in net.i2p.router.message

    Methods in net.i2p.router.message that return Certificate
    Modifier and Type | Method and Description
    --- | ---
    `Certificate` | GarlicConfig.`getCertificate()`
    `Certificate` | CloveSet.`getCertificate()`
    `Certificate` | GarlicConfig.`getReplyBlockCertificate()`

    Methods in net.i2p.router.message with parameters of type Certificate
    Modifier and Type | Method and Description
    --- | ---
    `void` | GarlicConfig.`setCertificate(Certificate cert)` Certificate for the getRecipient() to pay for their processing
    `void` | CloveSet.`setCertificate(Certificate cert)`
    `void` | GarlicConfig.`setReplyBlockCertificate(Certificate cert)`