public class SignatureEcBcPlain extends SignatureEcBc
SignatureEcBc for a plain signature. This is one byte shorter than
SignatureEcBcWithRecoveryId but requires to also transmit the entire public key.| Constructor and Description |
|---|
SignatureEcBcPlain(CryptoEllipticCurveBc curve,
byte[] data)
The constructor.
|
SignatureEcBcPlain(CryptoEllipticCurveBc curve,
byte[] data,
BigInteger r,
BigInteger s)
The constructor.
|
calculateRecoveryIndex, createData, deserialize, getCurve, getHead, getR, getS, recoverPublicKey, recoverPublicKeyasStream, equals, format, formatBase64, formatHex, getData, getData, getDataByte, getLength, getMaxLength, getMinLength, hashCode, isZeros, parseBase64, parseHex, save, toBytes, toBytes, toInt, toLong, toStringpublic SignatureEcBcPlain(CryptoEllipticCurveBc curve, byte[] data, BigInteger r, BigInteger s)
curve - the elliptic curve.data - the binary data.r - - see SignatureEcBc.getR().s - - see SignatureEcBc.getS().public SignatureEcBcPlain(CryptoEllipticCurveBc curve, byte[] data)
curve - the elliptic curve.data - the binary data.Copyright © 2001–2019 mmm-Team. All rights reserved.