パッケージ | 説明 |
---|---|
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.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.i2ptunnel |
Implementation of preconfigured tunnels, both for clients and servers,
and a UI for adding more and editing the configuration.
|
net.i2p.router.startup |
The I2P startup package loads the configuration when I2P is started.
|
net.i2p.router.web.helpers |
Helpers and handlers for the router console user interface,
with these classes supporting the webapp in routerconsole.war.
|
net.i2p.sam |
The SAM client API.
|
修飾子とタイプ | フィールド | 説明 |
---|---|---|
static SigType |
I2PClient.DEFAULT_SIGTYPE |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
Destination |
I2PClient.createDestination(java.io.OutputStream destKeyStream,
SigType type) |
Create a destination with the given signature type.
|
Destination |
I2PSimpleClient.createDestination(java.io.OutputStream destKeyStream,
SigType type) |
推奨されていません。
Don't do this
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
Destination |
I2PClientImpl.createDestination(java.io.OutputStream destKeyStream,
SigType type) |
Create a destination with the given signature type.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static SigType |
SigType.getByCode(int code) |
|
SigType |
SU3File.getSigType() |
This does not check the signature, but it will fail if the signer is unknown,
unless setVerifySignature(false) has been called.
|
static SigType |
SigType.parseSigType(java.lang.String stype) |
Convenience for user apps
|
static SigType |
SigType.valueOf(java.lang.String name) |
指定した名前を持つこの型の列挙型定数を返します。
文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に
一致している必要があります。(余分な空白文字を含めることは
できません。)
|
static SigType[] |
SigType.values() |
この列挙型の定数を含む配列を宣言されている順序で返します。
このメソッドは次のようにして定数を反復するために
使用できます:
for (SigType c : SigType.values()) System.out.println(c); |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static java.lang.Object[] |
KeyStoreUtil.createKeysAndCRL(java.io.File ks,
java.lang.String ksPW,
java.lang.String alias,
java.lang.String cname,
java.lang.String ou,
int validDays,
SigType type,
java.lang.String keyPW) |
New way - Native Java, does not call out to keytool.
|
static SigningPrivateKey |
SigUtil.fromJavaKey(java.security.interfaces.ECPrivateKey pk,
SigType type) |
|
static SigningPublicKey |
SigUtil.fromJavaKey(java.security.interfaces.ECPublicKey pk,
SigType type) |
|
static SigningPrivateKey |
SigUtil.fromJavaKey(java.security.interfaces.RSAPrivateKey pk,
SigType type) |
As of 0.9.31, if pk is a RSAPrivateCrtKey,
this will return a RSASigningPrivateCrtKey.
|
static SigningPublicKey |
SigUtil.fromJavaKey(java.security.interfaces.RSAPublicKey pk,
SigType type) |
|
static SigningPrivateKey |
SigUtil.fromJavaKey(java.security.PrivateKey pk,
SigType type) |
Use if SigType is known.
|
static SigningPublicKey |
SigUtil.fromJavaKey(java.security.PublicKey pk,
SigType type) |
Use if SigType is known.
|
static SigningPrivateKey |
SigUtil.fromJavaKey(EdDSAPrivateKey pk,
SigType type) |
|
static SigningPublicKey |
SigUtil.fromJavaKey(EdDSAPublicKey pk,
SigType type) |
|
static Signature |
SigUtil.fromJavaSig(byte[] asn,
SigType type) |
|
static java.lang.Object[] |
SelfSignedGenerator.generate(java.lang.String cname,
java.lang.String ou,
java.lang.String o,
java.lang.String l,
java.lang.String st,
java.lang.String c,
int validDays,
SigType type) |
|
SimpleDataStructure[] |
KeyGenerator.generateSigningKeys(SigType type) |
Generic signature type, supports DSA, RSA, ECDSA, EdDSA
|
java.security.PublicKey |
DirKeyRing.getKey(java.lang.String keyName,
java.lang.String scope,
SigType type) |
Cert must be in the file (escaped keyName).crt,
and have a CN == keyName.
|
java.security.PublicKey |
KeyRing.getKey(java.lang.String keyName,
java.lang.String scope,
SigType type) |
Get a key.
|
static java.security.PrivateKey |
SigUtil.importJavaPrivateKey(java.io.File file,
SigType type) |
|
static java.security.PublicKey |
SigUtil.importJavaPublicKey(java.io.File file,
SigType type) |
|
Signature |
DSAEngine.sign(SimpleDataStructure hash,
java.security.PrivateKey privKey,
SigType type) |
Generic signature type.
|
void |
SU3File.write(java.io.File content,
int fileType,
int contentType,
java.lang.String version,
java.lang.String signer,
java.security.PrivateKey privkey,
SigType sigType) |
One-pass wrap and sign the content.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
SigType |
KeyCertificate.getSigType() |
|
SigType |
KeysAndCert.getSigType() |
|
SigType |
Signature.getType() |
|
SigType |
SigningPrivateKey.getType() |
|
SigType |
SigningPublicKey.getType() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
Destination |
PrivateKeyFile.createIfAbsent(SigType type) |
Create with the specified signature type if nonexistent.
|
Certificate |
PrivateKeyFile.setKeyCert(SigType type) |
Change cert type - caller must also call write().
|
コンストラクタ | 説明 |
---|---|
KeyCertificate(SigType type) |
A KeyCertificate with crypto type 0 (ElGamal)
and the signature type as specified.
|
Signature(SigType type) |
Unknown type not allowed as we won't know the length to read in the data.
|
Signature(SigType type,
byte[] data) |
Should we allow an unknown type here?
|
SigningPrivateKey(SigType type) |
|
SigningPrivateKey(SigType type,
byte[] data) |
|
SigningPublicKey(SigType type) |
|
SigningPublicKey(SigType type,
byte[] data) |
修飾子とタイプ | フィールド | 説明 |
---|---|---|
static SigType |
TunnelController.PREFERRED_SIGTYPE |
This is guaranteed to be available.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static SigType |
CreateRouterInfoJob.getSigTypeConfig(RouterContext ctx) |
The configured SigType to expect on read-in
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
NetDbRenderer.renderRouterInfoHTML(java.io.Writer out,
java.lang.String routerPrefix,
java.lang.String version,
java.lang.String country,
java.lang.String family,
java.lang.String caps,
java.lang.String ip,
java.lang.String sybil,
int port,
SigType type,
java.lang.String mtu,
java.lang.String ipv6,
java.lang.String ssucaps,
int cost) |
One String must be non-null
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static void |
SAMUtils.genRandomKey(java.io.OutputStream priv,
java.io.OutputStream pub,
SigType sigType) |
Generate a random destination key.
|