public class SignatureInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SignatureInfo.DigestAlgorithm
Signature digest algorithms
|
static class |
SignatureInfo.EncryptionAlgorithm
Signature encryption algorithms
|
Modifier and Type | Field and Description |
---|---|
static SignatureInfo |
DISABLED |
Constructor and Description |
---|
SignatureInfo()
Creates a signature info object with the default digest algorithm (which is SHA1) and default encryption (which
is extracted from the specified private key for the message sending) if message signing is set to true
|
SignatureInfo(SignatureInfo.DigestAlgorithm digestAlgorithm,
SignatureInfo.EncryptionAlgorithm encryptionAlgorithm) |
SignatureInfo(String digestAlgorithm,
String encryptionAlgorithm) |
Modifier and Type | Method and Description |
---|---|
SignatureInfo.DigestAlgorithm |
getDigestAlgorithm() |
SignatureInfo.EncryptionAlgorithm |
getEncryptionAlgorithm() |
boolean |
isSignMessage() |
String |
toString() |
public static final SignatureInfo DISABLED
public SignatureInfo()
public SignatureInfo(SignatureInfo.DigestAlgorithm digestAlgorithm, SignatureInfo.EncryptionAlgorithm encryptionAlgorithm)
public boolean isSignMessage()
public SignatureInfo.DigestAlgorithm getDigestAlgorithm()
public SignatureInfo.EncryptionAlgorithm getEncryptionAlgorithm()
Copyright © 2010–2016 AdroitLogic. All rights reserved.