| Modifier and Type | Field and Description |
|---|---|
| public static final PlainDSAEncoding |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BigInteger | |
| public BigInteger[] | decode(BigInteger
the order of the group that r, s belong to. n, byte[] an encoding of the (r, s) pair of a DSA signature. encoding)Implements org. Decode the (r, s) pair of a DSA signature. |
| protected BigInteger | |
| public byte[] | encode(BigInteger
the order of the group that r, s belong to. n, BigInteger the r value of a DSA signature. r, BigInteger the s value of a DSA signature. s)Implements org. Encode the (r, s) pair of a DSA signature. |
| private void |
| INSTANCE | back to summary |
|---|---|
| public static final PlainDSAEncoding INSTANCE | |
| PlainDSAEncoding | back to summary |
|---|---|
| public PlainDSAEncoding() | |
| checkValue | back to summary |
|---|---|
| protected BigInteger checkValue(BigInteger n, BigInteger x) | |
| decode | back to summary |
|---|---|
| public BigInteger[] decode(BigInteger n, byte[] encoding) Implements org. Doc from org. Decode the (r, s) pair of a DSA signature.
| |
| decodeValue | back to summary |
|---|---|
| protected BigInteger decodeValue(BigInteger n, byte[] buf, int off, int len) | |
| encode | back to summary |
|---|---|
| public byte[] encode(BigInteger n, BigInteger r, BigInteger s) Implements org. Doc from org. Encode the (r, s) pair of a DSA signature.
| |
| encodeValue | back to summary |
|---|---|
| private void encodeValue(BigInteger n, BigInteger x, byte[] buf, int off, int len) | |