public class ECDSASignature extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
BigInteger |
r
The two components of the signature.
|
BigInteger |
s
The two components of the signature.
|
| 构造器和说明 |
|---|
ECDSASignature(BigInteger r,
BigInteger s) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
checkIsCanonical(byte[] sig,
boolean strict) |
static ECDSASignature |
decodeFromDER(byte[] bytes) |
protected ByteArrayOutputStream |
derByteStream() |
byte[] |
encodeToDER()
DER is an international standard for serializing data structures which is widely used in cryptography.
|
static boolean |
isStrictlyCanonical(byte[] sig) |
public BigInteger r
public BigInteger s
public ECDSASignature(BigInteger r, BigInteger s)
r - s - public static boolean isStrictlyCanonical(byte[] sig)
public static boolean checkIsCanonical(byte[] sig,
boolean strict)
public byte[] encodeToDER()
public static ECDSASignature decodeFromDER(byte[] bytes)
protected ByteArrayOutputStream derByteStream() throws IOException
IOExceptionCopyright © 2021. All rights reserved.