de.rub.nds.protocol.crypto.key.EddsaPrivateKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protocol-attacker Show documentation
Show all versions of protocol-attacker Show documentation
Protocol-Attacker is a framework for the creation of protocol analysis tools
The newest version!
/*
* Protocol-Attacker - A Framework to create Protocol Analysis Tools
*
* Copyright 2023-2023 Ruhr University Bochum, Paderborn University, Technology Innovation Institute, and Hackmanit GmbH
*
* Licensed under Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.txt
*/
package de.rub.nds.protocol.crypto.key;
import de.rub.nds.protocol.constants.NamedEllipticCurveParameters;
import java.math.BigInteger;
public class EddsaPrivateKey implements PrivateKeyContainer {
private BigInteger privateKey;
private NamedEllipticCurveParameters parameters;
public EddsaPrivateKey(BigInteger privateKey, NamedEllipticCurveParameters parameters) {
this.privateKey = privateKey;
this.parameters = parameters;
}
public BigInteger getPrivateKey() {
return privateKey;
}
public NamedEllipticCurveParameters getParameters() {
return parameters;
}
}