|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.wss.util.WSSEncryptionParams
public class WSSEncryptionParams
A specification of algorithms and keys for using with XML encryption. Note: this used to be deprecated, but not any more
Constructor Summary | |
---|---|
WSSEncryptionParams(java.lang.String dataEncAlg, javax.crypto.SecretKey dataEncKey, java.lang.String dataEncKeyName) Deprecated. |
|
WSSEncryptionParams(java.lang.String dataEncAlg, javax.crypto.SecretKey dataEncKey, java.lang.String keyEncAlg, java.security.PublicKey keyEncKey, oracle.security.xmlsec.keys.KeyInfoData keyInfoData) Create a new WSSEncryptionParams instance. |
|
WSSEncryptionParams(java.lang.String dataEncAlg, java.lang.String keyEncAlg, java.security.cert.X509Certificate keyEncCert, java.lang.String keyEncKeyName, byte[] certId) Deprecated. |
|
WSSEncryptionParams(WSSEncryptionParams encParam) |
Method Summary | |
---|---|
protected java.lang.Object |
clone() |
byte[] |
getCertId() Get the KeyIdentifier. |
java.lang.String |
getDataEncryptionAlg() Get the Content Encryption Algorithm. |
javax.crypto.SecretKey |
getDataEncryptionKey() Get the Content Encryption Key. |
java.lang.String |
getDataEncryptionKeyName() Get the name of the Content Encryption Key. |
byte[] |
getIv() |
java.lang.String |
getKeyEncryptionAlg() Get the Key Encryption Algorithm. |
java.security.cert.X509Certificate |
getKeyEncryptionCert() Get the Public Key Certificate of the key encryption key. |
java.security.PublicKey |
getKeyEncryptionKey() Get the Key Encryption Key. |
java.lang.String |
getKeyEncryptionKeyName() Get the Key Encryption Key Name. |
oracle.security.xmlsec.keys.KeyInfoData |
getKeyInfoData() |
void |
setDataEncryptionKey(javax.crypto.SecretKey dataEncKey) Set the Content Encryption Key. |
void |
setIv(byte[] iv) |
void |
setKeyEncryptionAlg(java.lang.String keyEncAlg) Set the Key Encryption Algorithm. |
void |
setKeyEncryptionKey(java.security.PublicKey keyEncKey) Set the Key Encryption Key. |
void |
setKeyInfoData(oracle.security.xmlsec.keys.KeyInfoData keyInfoData) |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSSEncryptionParams(java.lang.String dataEncAlg, javax.crypto.SecretKey dataEncKey, java.lang.String dataEncKeyName)
WSSEncryptionParams
instance.
dataEncAlg
- The content encryption algorithm.dataEncKey
- The content encryption key.dataEncKeyName
- The content encryption key name.public WSSEncryptionParams(java.lang.String dataEncAlg, javax.crypto.SecretKey dataEncKey, java.lang.String keyEncAlg, java.security.PublicKey keyEncKey, oracle.security.xmlsec.keys.KeyInfoData keyInfoData)
WSSEncryptionParams
instance.
dataEncAlg
- The content encryption algorithm.dataEncKey
- The content encryption key.dataEncKeyName
- The content encryption key name.public WSSEncryptionParams(java.lang.String dataEncAlg, java.lang.String keyEncAlg, java.security.cert.X509Certificate keyEncCert, java.lang.String keyEncKeyName, byte[] certId)
WSSEncryptionParams
instance.
dataEncAlg
- The content encryption algorithm.keyEncAlg
- The key encryption algorithm.keyEncCert
- The key encryption key.keyEncKeyName
- The key encryption key name.certId
- The public key identifier.public WSSEncryptionParams(WSSEncryptionParams encParam)
Method Detail |
---|
public java.lang.String getDataEncryptionAlg()
public javax.crypto.SecretKey getDataEncryptionKey()
public void setDataEncryptionKey(javax.crypto.SecretKey dataEncKey)
public java.lang.String getDataEncryptionKeyName()
public java.lang.String getKeyEncryptionAlg()
public void setKeyEncryptionAlg(java.lang.String keyEncAlg)
keyEncAlg
- The encryption algorithm string.public java.security.cert.X509Certificate getKeyEncryptionCert()
public java.security.PublicKey getKeyEncryptionKey()
public void setKeyEncryptionKey(java.security.PublicKey keyEncKey)
keyEncKey
- The encryption key.public java.lang.String getKeyEncryptionKeyName()
public byte[] getCertId()
public byte[] getIv()
public void setIv(byte[] iv)
public oracle.security.xmlsec.keys.KeyInfoData getKeyInfoData()
public void setKeyInfoData(oracle.security.xmlsec.keys.KeyInfoData keyInfoData)
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |