private javax.crypto.Cipher |
XMLCipher.constructCipher(java.lang.String algorithm,
java.lang.String digestAlgorithm) |
Construct a Cipher object
|
private javax.crypto.Cipher |
XMLCipher.constructCipher(java.lang.String algorithm,
java.lang.String digestAlgorithm,
java.lang.Exception nsae) |
|
protected static byte[] |
AbstractSerializer.createContext(byte[] source,
org.w3c.dom.Node ctx) |
|
EncryptedData |
XMLCipher.createEncryptedData(int type,
java.lang.String value) |
Creates an EncryptedData Element .
|
EncryptedKey |
XMLCipher.createEncryptedKey(int type,
java.lang.String value) |
Creates an EncryptedKey Element .
|
private org.w3c.dom.Document |
XMLCipher.decryptElement(org.w3c.dom.Element element) |
Decrypts EncryptedData in a single-part operation.
|
private org.w3c.dom.Document |
XMLCipher.decryptElementContent(org.w3c.dom.Element element) |
|
java.security.Key |
XMLCipher.decryptKey(EncryptedKey encryptedKey) |
Decrypt a key from a passed in EncryptedKey structure.
|
java.security.Key |
XMLCipher.decryptKey(EncryptedKey encryptedKey,
java.lang.String algorithm) |
Decrypt a key from a passed in EncryptedKey structure
|
byte[] |
XMLCipher.decryptToByteArray(org.w3c.dom.Element element) |
Decrypt an EncryptedData element to a byte array.
|
abstract org.w3c.dom.Node |
AbstractSerializer.deserialize(byte[] source,
org.w3c.dom.Node ctx) |
|
abstract org.w3c.dom.Node |
AbstractSerializer.deserialize(java.lang.String source,
org.w3c.dom.Node ctx) |
|
org.w3c.dom.Node |
DocumentSerializer.deserialize(byte[] source,
org.w3c.dom.Node ctx) |
|
org.w3c.dom.Node |
DocumentSerializer.deserialize(java.lang.String source,
org.w3c.dom.Node ctx) |
|
private org.w3c.dom.Node |
DocumentSerializer.deserialize(org.w3c.dom.Node ctx,
org.xml.sax.InputSource inputSource) |
|
org.w3c.dom.Node |
Serializer.deserialize(byte[] source,
org.w3c.dom.Node ctx) |
|
org.w3c.dom.Node |
TransformSerializer.deserialize(byte[] source,
org.w3c.dom.Node ctx) |
|
org.w3c.dom.Node |
TransformSerializer.deserialize(java.lang.String source,
org.w3c.dom.Node ctx) |
|
private org.w3c.dom.Node |
TransformSerializer.deserialize(org.w3c.dom.Node ctx,
javax.xml.transform.Source source) |
|
EncryptedKey |
XMLCipher.encryptKey(org.w3c.dom.Document doc,
java.security.Key key) |
Encrypts a key to an EncryptedKey structure
|
EncryptedKey |
XMLCipher.encryptKey(org.w3c.dom.Document doc,
java.security.Key key,
java.lang.String mgfAlgorithm,
byte[] oaepParams) |
Encrypts a key to an EncryptedKey structure
|
EncryptedKey |
XMLCipher.encryptKey(org.w3c.dom.Document doc,
java.security.Key key,
java.lang.String mgfAlgorithm,
byte[] oaepParams,
java.security.SecureRandom random) |
Encrypts a key to an EncryptedKey structure
|
byte[] |
XMLCipherInput.getBytes() |
Dereferences the input and returns it as a single byte array.
|
private byte[] |
XMLCipherInput.getDecryptBytes() |
Internal method to get bytes in decryption mode
|
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(java.lang.String transformation) |
Returns an XMLCipher that implements the specified
transformation and operates on the specified context document.
|
static XMLCipher |
XMLCipher.getInstance(java.lang.String transformation,
java.lang.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(java.lang.String transformation,
java.lang.String canon,
java.lang.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(java.lang.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(java.lang.String transformation,
java.lang.String provider) |
Returns an XMLCipher that implements the specified
transformation and operates on the specified context document.
|
static XMLCipher |
XMLCipher.getProviderInstance(java.lang.String transformation,
java.lang.String provider,
java.lang.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(java.lang.String transformation,
java.lang.String provider,
java.lang.String canon,
java.lang.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,
java.security.Key key) |
Initializes this cipher with a key.
|
EncryptedData |
XMLCipher.loadEncryptedData(org.w3c.dom.Document context,
org.w3c.dom.Element element) |
Returns an EncryptedData interface.
|
EncryptedKey |
XMLCipher.loadEncryptedKey(org.w3c.dom.Document context,
org.w3c.dom.Element element) |
Returns an EncryptedKey interface.
|
EncryptedKey |
XMLCipher.loadEncryptedKey(org.w3c.dom.Element element) |
Returns an EncryptedKey interface.
|
(package private) CipherData |
XMLCipher.Factory.newCipherData(org.w3c.dom.Element element) |
|
(package private) CipherReference |
XMLCipher.Factory.newCipherReference(org.w3c.dom.Element element) |
|
(package private) EncryptedData |
XMLCipher.Factory.newEncryptedData(org.w3c.dom.Element element) |
|
(package private) EncryptedKey |
XMLCipher.Factory.newEncryptedKey(org.w3c.dom.Element element) |
|
(package private) KeyInfo |
XMLCipher.Factory.newKeyInfo(org.w3c.dom.Element element) |
|
void |
CipherData.setCipherReference(CipherReference reference) |
Sets the CipherData 's reference.
|
void |
XMLCipher.Factory.CipherDataImpl.setCipherReference(CipherReference reference) |
Sets the CipherData 's reference.
|
void |
CipherData.setCipherValue(CipherValue value) |
Sets the CipherData 's value.
|
void |
XMLCipher.Factory.CipherDataImpl.setCipherValue(CipherValue value) |
Sets the CipherData 's value.
|