| Package | Description |
|---|---|
| xdi2.core.features.encryption |
| Modifier and Type | Class and Description |
|---|---|
class |
KeyPairEncryption
An XDI encryption, represented as an XDI attribute.
|
class |
SymmetricKeyEncryption
An XDI encryption, represented as an XDI attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static Encryption<? extends Key,? extends Key> |
Encryptions.createEncryption(ContextNode contextNode,
String keyAlgorithm,
int keyLength,
boolean singleton)
Creates an XDI encryption on a context node.
|
static Encryption<? extends Key,? extends Key> |
Encryption.fromXdiAttribute(XdiAttribute xdiAttribute)
Factory method that creates an XDI encryption bound to a given XDI attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Encryption<? extends Key,? extends Key>> |
Encryptions.getAllEncryptions(Graph graph)
Given a graph, lists all encryptions.
|
static ReadOnlyIterator<Encryption<? extends Key,? extends Key>> |
Encryptions.getEncryptions(ContextNode contextNode)
Returns the XDI encryptions on a context node.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Encryption.compareTo(Encryption<EKEY,DKEY> other) |
Copyright © 2015. All Rights Reserved.