Package | Description |
---|---|
org.apache.xml.security.encryption | |
org.apache.xml.security.keys |
Modifier and Type | Method | Description |
---|---|---|
protected static byte[] |
AbstractSerializer.createContext(byte[] source,
Node ctx) |
|
EncryptedData |
XMLCipher.createEncryptedData(int type,
String value) |
Creates an
EncryptedData Element . |
EncryptedKey |
XMLCipher.createEncryptedKey(int type,
String value) |
Creates an
EncryptedKey Element . |
Key |
XMLCipher.decryptKey(EncryptedKey encryptedKey) |
Decrypt a key from a passed in EncryptedKey structure.
|
Key |
XMLCipher.decryptKey(EncryptedKey encryptedKey,
String algorithm) |
Decrypt a key from a passed in EncryptedKey structure
|
byte[] |
XMLCipher.decryptToByteArray(Element element) |
Decrypt an EncryptedData element to a byte array.
|
abstract Node |
AbstractSerializer.deserialize(byte[] source,
Node ctx) |
|
abstract Node |
AbstractSerializer.deserialize(String source,
Node ctx) |
|
Node |
DocumentSerializer.deserialize(byte[] source,
Node ctx) |
|
Node |
DocumentSerializer.deserialize(String source,
Node ctx) |
|
Node |
Serializer.deserialize(byte[] source,
Node ctx) |
|
Node |
TransformSerializer.deserialize(byte[] source,
Node ctx) |
|
Node |
TransformSerializer.deserialize(String source,
Node ctx) |
|
EncryptedKey |
XMLCipher.encryptKey(Document doc,
Key key) |
Encrypts a key to an EncryptedKey structure
|
EncryptedKey |
XMLCipher.encryptKey(Document doc,
Key key,
String mgfAlgorithm,
byte[] oaepParams) |
Encrypts a key to an EncryptedKey structure
|
byte[] |
XMLCipherInput.getBytes() |
Dereferences the input and returns it as a single byte array.
|
static XMLCipher |
XMLCipher.getInstance() |
Returns an
XMLCipher that implements no specific
transformation, and can therefore only be used for decrypt or
unwrap operations where the encryption method is defined in the
EncryptionMethod element. |
static XMLCipher |
XMLCipher.getInstance(String transformation) |
Returns an
XMLCipher that implements the specified
transformation and operates on the specified context document. |
static XMLCipher |
XMLCipher.getInstance(String transformation,
String canon) |
Returns an
XMLCipher that implements the specified
transformation, operates on the specified context document and serializes
the document with the specified canonicalization algorithm before it
encrypts the document. |
static XMLCipher |
XMLCipher.getInstance(String transformation,
String canon,
String digestMethod) |
Returns an
XMLCipher that implements the specified
transformation, operates on the specified context document and serializes
the document with the specified canonicalization algorithm before it
encrypts the document. |
static XMLCipher |
XMLCipher.getProviderInstance(String provider) |
Returns an
XMLCipher that implements no specific
transformation, and can therefore only be used for decrypt or
unwrap operations where the encryption method is defined in the
EncryptionMethod element. |
static XMLCipher |
XMLCipher.getProviderInstance(String transformation,
String provider) |
Returns an
XMLCipher that implements the specified
transformation and operates on the specified context document. |
static XMLCipher |
XMLCipher.getProviderInstance(String transformation,
String provider,
String canon) |
Returns an
XMLCipher that implements the specified
transformation, operates on the specified context document and serializes
the document with the specified canonicalization algorithm before it
encrypts the document. |
static XMLCipher |
XMLCipher.getProviderInstance(String transformation,
String provider,
String canon,
String digestMethod) |
Returns an
XMLCipher that implements the specified
transformation, operates on the specified context document and serializes
the document with the specified canonicalization algorithm before it
encrypts the document. |
void |
XMLCipher.init(int opmode,
Key key) |
Initializes this cipher with a key.
|
EncryptedData |
XMLCipher.loadEncryptedData(Document context,
Element element) |
Returns an
EncryptedData interface. |
EncryptedKey |
XMLCipher.loadEncryptedKey(Document context,
Element element) |
Returns an
EncryptedKey interface. |
EncryptedKey |
XMLCipher.loadEncryptedKey(Element element) |
Returns an
EncryptedKey interface. |
void |
CipherData.setCipherReference(CipherReference reference) |
Sets the
CipherData 's reference. |
void |
CipherData.setCipherValue(CipherValue value) |
Sets the
CipherData 's value. |
Constructor | Description |
---|---|
XMLCipherInput(CipherData data) |
Constructor for processing encrypted octets
|
XMLCipherInput(EncryptedType input) |
Constructor for processing encrypted octets
|
Modifier and Type | Method | Description |
---|---|---|
void |
KeyInfo.add(EncryptedKey encryptedKey) |
Method addEncryptedKey
|
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.