| Package | Description |
|---|---|
| eu.europa.esig.dss | |
| eu.europa.esig.dss.x509 |
| Modifier and Type | Method and Description |
|---|---|
static SignatureAlgorithm |
SignatureAlgorithm.forJAVA(String javaName)
For given signature algorithm & digest algorithm this function returns the Java form of the signature algorithm
Signature Algorithms
The algorithm names in this section can be specified when generating an instance of Signature.
|
static SignatureAlgorithm |
SignatureAlgorithm.forOID(String oid) |
static SignatureAlgorithm |
SignatureAlgorithm.forXML(String xmlName) |
static SignatureAlgorithm |
SignatureAlgorithm.forXML(String xmlName,
SignatureAlgorithm defaultValue)
This method return the
SignatureAlgorithm or the default value if the algorithm is unknown. |
SignatureAlgorithm |
SignatureValue.getAlgorithm() |
static SignatureAlgorithm |
SignatureAlgorithm.getAlgorithm(EncryptionAlgorithm encryptionAlgorithm,
DigestAlgorithm digestAlgorithm)
For given encryption algorithm & digest algorithm this function returns the signature algorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.getAlgorithm(EncryptionAlgorithm encryptionAlgorithm,
DigestAlgorithm digestAlgorithm,
MaskGenerationFunction mgf)
For given encryption algorithm & digest algorithm this function returns the signature algorithm.
|
SignatureAlgorithm |
AbstractSerializableSignatureParameters.getSignatureAlgorithm()
Gets the signature algorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureAlgorithm[] |
SignatureAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static SignatureAlgorithm |
SignatureAlgorithm.forXML(String xmlName,
SignatureAlgorithm defaultValue)
This method return the
SignatureAlgorithm or the default value if the algorithm is unknown. |
void |
SignatureValue.setAlgorithm(SignatureAlgorithm algorithm) |
| Constructor and Description |
|---|
SignatureValue(SignatureAlgorithm algorithm,
byte[] value) |
| Modifier and Type | Field and Description |
|---|---|
protected SignatureAlgorithm |
Token.signatureAlgorithm |
| Modifier and Type | Method and Description |
|---|---|
SignatureAlgorithm |
Token.getSignatureAlgorithm()
Returns the algorithm that was used to sign the token (ex: SHA1WithRSAEncryption, SHA1withRSA...).
|
Copyright © 2018. All rights reserved.