public class QTESLA
extends java.lang.Object
Constructor and Description |
---|
QTESLA() |
Modifier and Type | Method and Description |
---|---|
static int |
generateKeyPairI(byte[] publicKey,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for
Heuristic qTESLA Security Category-1
|
static int |
generateKeyPairIIIP(byte[] publicKey,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for Provably-Secure qTESLA Security Category-3
|
static int |
generateKeyPairIIISize(byte[] publicKey,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for Heuristic qTESLA Security Category-3 (Option for Size)
|
static int |
generateKeyPairIIISpeed(byte[] publicKey,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for Heuristic qTESLA Security Category-3
(Option for Speed)
|
static int |
generateKeyPairIP(byte[] publicKey,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Pair of Public Key and Private Key for qTESLA Signature Scheme for Provably-Secure qTESLA Security Category-1
|
static int |
signingIIIP(byte[] signature,
byte[] message,
int messageOffset,
int messageLength,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Signature for A Given Message According to the Ring-TESLA Signature Scheme for Provably-Secure
qTESLA Security Category-3
|
static int |
signingIP(byte[] signature,
byte[] message,
int messageOffset,
int messageLength,
byte[] privateKey,
java.security.SecureRandom secureRandom)
Description: Generates A Signature for A Given Message According to the Ring-TESLA Signature Scheme for Provably-Secure qTESLA Security Category-1
|
public static int generateKeyPairI(byte[] publicKey, byte[] privateKey, java.security.SecureRandom secureRandom)
publicKey
- Contains Public KeyprivateKey
- Contains Private KeysecureRandom
- Source of Randomnesspublic static int generateKeyPairIIISize(byte[] publicKey, byte[] privateKey, java.security.SecureRandom secureRandom)
publicKey
- Contains Public KeyprivateKey
- Contains Private KeysecureRandom
- Source of Randomnesspublic static int generateKeyPairIIISpeed(byte[] publicKey, byte[] privateKey, java.security.SecureRandom secureRandom)
publicKey
- Contains Public KeyprivateKey
- Contains Private KeysecureRandom
- Source of Randomnesspublic static int generateKeyPairIP(byte[] publicKey, byte[] privateKey, java.security.SecureRandom secureRandom)
publicKey
- Contains Public KeyprivateKey
- Contains Private KeysecureRandom
- Source of Randomnesspublic static int generateKeyPairIIIP(byte[] publicKey, byte[] privateKey, java.security.SecureRandom secureRandom)
publicKey
- Contains Public KeyprivateKey
- Contains Private KeysecureRandom
- Source of Randomnesspublic static int signingIP(byte[] signature, byte[] message, int messageOffset, int messageLength, byte[] privateKey, java.security.SecureRandom secureRandom)
message
- Message to be SignedmessageOffset
- Starting Point of the Message to be SignedmessageLength
- Length of the Message to be Signedsignature
- Output Package Containing SignatureprivateKey
- Private KeysecureRandom
- Source of Randomnesspublic static int signingIIIP(byte[] signature, byte[] message, int messageOffset, int messageLength, byte[] privateKey, java.security.SecureRandom secureRandom)
message
- Message to be SignedmessageOffset
- Starting Point of the Message to be SignedmessageLength
- Length of the Message to be Signedsignature
- Output Package Containing SignatureprivateKey
- Private KeysecureRandom
- Source of Randomness