public class Signatures extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Signatures.MappingXdiAttributeSignatureIterator |
static class |
Signatures.NoSignaturesCopyStrategy |
Modifier and Type | Method and Description |
---|---|
static XDIAddress |
createDataTypeXDIAddress(String digestAlgorithm,
Integer digestVersion,
String keyAlgorithm,
Integer keyLength) |
static Signature |
createSignature(ContextNode contextNode,
String digestAlgorithm,
Integer digestVersion,
String keyAlgorithm,
Integer keyLength,
boolean singleton)
Creates an XDI signature on a context node.
|
static Iterator<Signature> |
getAllSignatures(Graph graph)
Given a graph, lists all signatures.
|
static String |
getDigestAlgorithm(XDIAddress dataTypeXDIAddress) |
static String |
getDigestAlgorithm(XdiAttribute xdiAttribute) |
static Integer |
getDigestVersion(XDIAddress dataTypeXDIAddress) |
static Integer |
getDigestVersion(XdiAttribute xdiAttribute) |
static String |
getKeyAlgorithm(XDIAddress dataTypeXDIAddress) |
static String |
getKeyAlgorithm(XdiAttribute xdiAttribute) |
static Integer |
getKeyLength(XDIAddress dataTypeXDIAddress) |
static Integer |
getKeyLength(XdiAttribute xdiAttribute) |
static ReadOnlyIterator<Signature> |
getSignatures(ContextNode contextNode)
Returns the XDI signatures on a context node.
|
public static Iterator<Signature> getAllSignatures(Graph graph)
graph
- The graph.public static Signature createSignature(ContextNode contextNode, String digestAlgorithm, Integer digestVersion, String keyAlgorithm, Integer keyLength, boolean singleton)
public static ReadOnlyIterator<Signature> getSignatures(ContextNode contextNode)
public static String getDigestAlgorithm(XdiAttribute xdiAttribute)
public static String getDigestAlgorithm(XDIAddress dataTypeXDIAddress)
public static Integer getDigestVersion(XdiAttribute xdiAttribute)
public static Integer getDigestVersion(XDIAddress dataTypeXDIAddress)
public static String getKeyAlgorithm(XdiAttribute xdiAttribute)
public static String getKeyAlgorithm(XDIAddress dataTypeXDIAddress)
public static Integer getKeyLength(XdiAttribute xdiAttribute)
public static Integer getKeyLength(XDIAddress dataTypeXDIAddress)
public static XDIAddress createDataTypeXDIAddress(String digestAlgorithm, Integer digestVersion, String keyAlgorithm, Integer keyLength)
Copyright © 2017. All rights reserved.