Package de.tsenger.vdstools.seals
Class VdsSignature
- java.lang.Object
-
- de.tsenger.vdstools.seals.VdsSignature
-
public class VdsSignature extends Object
- Author:
- Tobias Senger
-
-
Constructor Summary
Constructors Constructor Description VdsSignature(byte[] rawSignatureBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRawBytes()byte[]getRawSignatureBytes()Returns signature in raw format: r||sbyte[]getSignatureBytes()Returns signature in format ECDSASignature ::= SEQUENCE { r INTEGER, s INTEGER }
-
-
-
Method Detail
-
getSignatureBytes
public byte[] getSignatureBytes()
Returns signature in format ECDSASignature ::= SEQUENCE { r INTEGER, s INTEGER }- Returns:
- ASN1 DER encoded signature as byte array
-
getRawSignatureBytes
public byte[] getRawSignatureBytes()
Returns signature in raw format: r||s- Returns:
- r||s signature byte array
-
getRawBytes
public byte[] getRawBytes() throws IOException- Throws:
IOException
-
-