public final class AESSignature extends Signature
Modifier and Type | Field and Description |
---|---|
static String |
DIGEST_ALGORITHM_SHA |
static String |
KEY_ALGORITHM_AES |
Modifier | Constructor and Description |
---|---|
protected |
AESSignature(XdiAttribute xdiAttribute) |
Modifier and Type | Method and Description |
---|---|
static AESSignature |
fromXdiAttribute(XdiAttribute xdiAttribute)
Factory method that creates an XDI signature bound to a given XDI attribute.
|
String |
getJCEAlgorithm() |
static boolean |
isValid(XdiAttribute xdiAttribute)
Checks if an XDI attribute is a valid XDI signature.
|
compareTo, equals, getBaseContextNode, getContextNode, getDigestAlgorithm, getDigestVersion, getKeyAlgorithm, getKeyLength, getSignatureValue, getXdiAttribute, hashCode, setSignatureValue, toString
public static final String KEY_ALGORITHM_AES
public static final String DIGEST_ALGORITHM_SHA
protected AESSignature(XdiAttribute xdiAttribute)
public static boolean isValid(XdiAttribute xdiAttribute)
xdiAttribute
- The XDI attribute to check.public static AESSignature fromXdiAttribute(XdiAttribute xdiAttribute)
xdiAttribute
- The XDI attribute that is an XDI signature.public String getJCEAlgorithm()
Copyright © 2017. All rights reserved.