public class WSSEncryptionParams
extends java.lang.Object
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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)
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.Objectjava.lang.CloneNotSupportedException