Package | Description |
---|---|
org.apache.xml.security.encryption | |
org.apache.xml.security.keys |
Modifier and Type | Method and Description |
---|---|
EncryptedKey |
XMLCipher.createEncryptedKey(int type,
String value)
Creates an
EncryptedKey Element . |
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
|
EncryptedKey |
XMLCipher.encryptKey(Document doc,
Key key,
String mgfAlgorithm,
byte[] oaepParams,
SecureRandom random)
Encrypts a key to an EncryptedKey structure
|
EncryptedKey |
XMLCipher.getEncryptedKey()
Get the EncryptedData being build
Returns the EncryptedData being built during an ENCRYPT operation.
|
EncryptedKey |
XMLCipher.loadEncryptedKey(Document context,
Element element)
Returns an
EncryptedKey interface. |
EncryptedKey |
XMLCipher.loadEncryptedKey(Element element)
Returns an
EncryptedKey interface. |
Modifier and Type | Method and Description |
---|---|
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
|
Element |
XMLCipher.martial(Document context,
EncryptedKey encryptedKey)
Martial an EncryptedKey
Takes an EncryptedKey object and returns a DOM Element that
represents the appropriate
EncryptedKey |
Element |
XMLCipher.martial(EncryptedKey encryptedKey)
Martial an EncryptedKey
Takes an EncryptedKey object and returns a DOM Element that
represents the appropriate
EncryptedKey |
Modifier and Type | Method and Description |
---|---|
EncryptedKey |
KeyInfo.itemEncryptedKey(int i)
Method itemEncryptedKey
|
Modifier and Type | Method and Description |
---|---|
void |
KeyInfo.add(EncryptedKey encryptedKey)
Method addEncryptedKey
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.