public final class RSASignature extends Signature
Modifier and Type | Field and Description |
---|---|
static String |
DIGEST_ALGORITHM_SHA |
static String |
KEY_ALGORITHM_DSA |
static String |
KEY_ALGORITHM_RSA |
Modifier | Constructor and Description |
---|---|
protected |
RSASignature(XdiAttribute xdiAttribute) |
Modifier and Type | Method and Description |
---|---|
static RSASignature |
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_RSA
public static final String KEY_ALGORITHM_DSA
public static final String DIGEST_ALGORITHM_SHA
protected RSASignature(XdiAttribute xdiAttribute)
public static boolean isValid(XdiAttribute xdiAttribute)
xdiAttribute
- The XDI attribute to check.public static RSASignature fromXdiAttribute(XdiAttribute xdiAttribute)
xdiAttribute
- The XDI attribute that is an XDI signature.public String getJCEAlgorithm()
Copyright © 2017. All rights reserved.