public class DigitallySigned extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DigitallySigned.HashAlgorithm |
static class |
DigitallySigned.SignatureAlgorithm |
| Constructor and Description |
|---|
DigitallySigned(DigitallySigned.HashAlgorithm hashAlgorithm,
DigitallySigned.SignatureAlgorithm signatureAlgorithm,
byte[] signature) |
DigitallySigned(int hashAlgorithm,
int signatureAlgorithm,
byte[] signature) |
| Modifier and Type | Method and Description |
|---|---|
static DigitallySigned |
decode(byte[] input)
Decode a TLS encoded DigitallySigned structure.
|
static DigitallySigned |
decode(InputStream input)
Decode a TLS encoded DigitallySigned structure.
|
String |
getAlgorithm()
Get the name of the hash and signature combination.
|
DigitallySigned.HashAlgorithm |
getHashAlgorithm() |
byte[] |
getSignature() |
DigitallySigned.SignatureAlgorithm |
getSignatureAlgorithm() |
public DigitallySigned(DigitallySigned.HashAlgorithm hashAlgorithm, DigitallySigned.SignatureAlgorithm signatureAlgorithm, byte[] signature)
public DigitallySigned(int hashAlgorithm,
int signatureAlgorithm,
byte[] signature)
public DigitallySigned.HashAlgorithm getHashAlgorithm()
public DigitallySigned.SignatureAlgorithm getSignatureAlgorithm()
public byte[] getSignature()
public String getAlgorithm()
Signature.getInstance(java.lang.String).public static DigitallySigned decode(InputStream input) throws SerializationException
SerializationExceptionpublic static DigitallySigned decode(byte[] input) throws SerializationException
SerializationException