public class EnvelopingParameters
extends java.lang.Object
Constructor and Description |
---|
EnvelopingParameters(java.security.cert.X509Certificate recipientCert, oracle.security.crypto.core.AlgorithmIdentifier encryptionAlgId)
Creates an
EnvelopingParameters object specifying the recipient certificate and the encryption algorithm. |
Modifier and Type | Method and Description |
---|---|
oracle.security.crypto.core.AlgorithmIdentifier |
getEncryptionAlgId()
Returns the content encryption algorithm for the enveloped data.
|
java.security.cert.X509Certificate |
getRecipientCert()
Returns the recipient's certificate.
|
void |
setEncryptionAlgId(oracle.security.crypto.core.AlgorithmIdentifier digestAlgId)
Sets the content encryption algorithm.
|
void |
setRecipientCert(java.security.cert.X509Certificate recipientCert)
Sets the recipient's certificate.
|
public EnvelopingParameters(java.security.cert.X509Certificate recipientCert, oracle.security.crypto.core.AlgorithmIdentifier encryptionAlgId)
EnvelopingParameters
object specifying the recipient certificate and the encryption algorithm. Supported algorithms:
recipientCert
- The recipient's X.509 certificate.encryptionAlgId
- The encryption algorithm.public void setRecipientCert(java.security.cert.X509Certificate recipientCert)
recipientCert
- The recipient's X509 certificate.public java.security.cert.X509Certificate getRecipientCert()
public void setEncryptionAlgId(oracle.security.crypto.core.AlgorithmIdentifier digestAlgId)
encryptionAlgId
- The content encryption algorithm for the enveloped data.public oracle.security.crypto.core.AlgorithmIdentifier getEncryptionAlgId()