
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 Signature<? extends Key,? extends Key> |
createSignature(ContextNode contextNode,
String digestAlgorithm,
int digestLength,
String keyAlgorithm,
int keyLength,
boolean singleton)
Creates an XDI signature on a context node.
|
static Iterator<Signature<? extends Key,? extends Key>> |
getAllSignatures(Graph graph)
Given a graph, lists all signatures.
|
static XDIAddress |
getDataTypeXDIAddress(String digestAlgorithm,
int digestLength,
String keyAlgorithm,
int keyLength) |
static String |
getDigestAlgorithm(XDIAddress dataTypeXDIAddress) |
static String |
getDigestAlgorithm(XdiAttribute xdiAttribute) |
static Integer |
getDigestLength(XDIAddress dataTypeXDIAddress) |
static Integer |
getDigestLength(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<? extends Key,? extends Key>> |
getSignatures(ContextNode contextNode)
Returns the XDI signatures on a context node.
|
public static Iterator<Signature<? extends Key,? extends Key>> getAllSignatures(Graph graph)
graph - The graph.public static Signature<? extends Key,? extends Key> createSignature(ContextNode contextNode, String digestAlgorithm, int digestLength, String keyAlgorithm, int keyLength, boolean singleton)
public static ReadOnlyIterator<Signature<? extends Key,? extends Key>> getSignatures(ContextNode contextNode)
public static String getDigestAlgorithm(XdiAttribute xdiAttribute)
public static String getDigestAlgorithm(XDIAddress dataTypeXDIAddress)
public static Integer getDigestLength(XdiAttribute xdiAttribute)
public static Integer getDigestLength(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 getDataTypeXDIAddress(String digestAlgorithm, int digestLength, String keyAlgorithm, int keyLength)
Copyright © 2015. All Rights Reserved.