| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.message | |
| net.tomp2p.storage |
| Modifier and Type | Method and Description |
|---|---|
SignatureCodec |
SignatureFactory.sign(PrivateKey privateKey,
io.netty.buffer.ByteBuf buf) |
SignatureCodec |
RSASignatureFactory.sign(PrivateKey privateKey,
io.netty.buffer.ByteBuf buf) |
SignatureCodec |
DSASignatureFactory.sign(PrivateKey privateKey,
io.netty.buffer.ByteBuf buf) |
SignatureCodec |
SignatureFactory.signatureCodec() |
SignatureCodec |
RSASignatureFactory.signatureCodec() |
SignatureCodec |
DSASignatureFactory.signatureCodec() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SignatureFactory.verify(PublicKey publicKey,
io.netty.buffer.ByteBuf buf,
SignatureCodec signatureEncoded) |
boolean |
RSASignatureFactory.verify(PublicKey publicKey,
io.netty.buffer.ByteBuf buf,
SignatureCodec signatureEncoded) |
boolean |
DSASignatureFactory.verify(PublicKey publicKey,
io.netty.buffer.ByteBuf buf,
SignatureCodec signatureEncoded) |
| Modifier and Type | Class and Description |
|---|---|
class |
DSASignatureCodec
Bare minimun ASN.1 encoder and decoder for the signature.
|
class |
RSASignatureCodec |
| Modifier and Type | Method and Description |
|---|---|
SignatureCodec |
RSASignatureCodec.decode(byte[] encodedData) |
SignatureCodec |
SignatureCodec.decode(byte[] encodedData) |
SignatureCodec |
DSASignatureCodec.read(io.netty.buffer.ByteBuf buf) |
SignatureCodec |
RSASignatureCodec.read(io.netty.buffer.ByteBuf buf) |
SignatureCodec |
SignatureCodec.read(io.netty.buffer.ByteBuf buf) |
SignatureCodec |
Message.receivedSignature() |
SignatureCodec |
DSASignatureCodec.write(io.netty.buffer.ByteBuf buf) |
SignatureCodec |
RSASignatureCodec.write(io.netty.buffer.ByteBuf buf) |
SignatureCodec |
SignatureCodec.write(io.netty.buffer.ByteBuf buf) |
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.receivedSignature(SignatureCodec signatureEncode) |
boolean |
Encoder.write(AlternativeCompositeByteBuf buf,
Message message,
SignatureCodec signatureCodec) |
| Modifier and Type | Method and Description |
|---|---|
SignatureCodec |
Data.signature() |
| Modifier and Type | Method and Description |
|---|---|
Data |
Data.signature(SignatureCodec signature) |
Copyright © 2014. All rights reserved.