Skip navigation links

Oracle Fusion Middleware CMS Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10667-03


oracle.security.crypto.cms
Class CMSEnvelopedDataContentInfo

java.lang.Object
  extended by oracle.security.crypto.cms.CMSContentInfo
      extended by oracle.security.crypto.cms.CMSEnvelopedDataContentInfo

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class CMSEnvelopedDataContentInfo
extends CMSContentInfo

This class encapsulates a CMS object of content type enveloped-data.


Constructor Summary
CMSEnvelopedDataContentInfo()
          Creates an empty CMSEnvelopedDataContentInfo.
CMSEnvelopedDataContentInfo(CMSContentInfo contentInfo, oracle.security.crypto.core.AlgorithmIdentifier contentEncryptionAlgID)
          Creates a CMSEnvelopedDataContentInfo.
CMSEnvelopedDataContentInfo(java.io.InputStream is)
          Creates a CMSEnvelopedDataContentInfo object, by reading a BER encoding from the specified input stream.

 

Method Summary
 void addRecipient(oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, javax.crypto.SecretKey keyEncryptionKey, byte[] keyIdentifier, java.util.Date keyDate, oracle.security.crypto.asn1.ASN1Sequence otherKeyAttribute)
          Add a recipient.
 void addRecipient(CMSRecipientInfoSpec ris)
          Add a recipient.
 void addRecipient(java.security.cert.X509Certificate recipientCert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID)
          Add a recipient.
 void addRecipient(java.security.cert.X509Certificate recipientCert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, boolean useSPKI64)
          Add a recipient.
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 oracle.security.crypto.core.AlgorithmIdentifier getContentEncryptionAlgID()
          Returns the content encryption algorithm.
 CMSContentInfo getEnclosed(java.security.PrivateKey privateKey, java.security.cert.X509Certificate recipientCert)
          Returns the enclosed content after decryption.
 CMSContentInfo getEnclosed(javax.crypto.SecretKey symmetricKey, byte[] keyIdentifier)
          Returns the enclosed content after decryption.
 CMSContentInfo getEnclosed(javax.crypto.SecretKey symmetricKey, byte[] keyIdentifier, java.util.Date keyDate)
          Returns the enclosed content after decryption.
 CMSContentInfo getEnclosed(javax.crypto.SecretKey symmetricKey, byte[] keyIdentifier, java.util.Date keyDate, oracle.security.crypto.asn1.ASN1Sequence otherKeyAttribute)
          Returns the enclosed content after decryption.
 oracle.security.crypto.asn1.ASN1ObjectID getEnclosedContentType()
          Returns the content type of the encrypted content.
 byte[] getEncryptedContent()
          Returns the enclosed content which is encrypted.
protected  byte[] getExposedContent()
          Returns the contents octets of the DER encoding of the content field of this CMS object.
 OriginatorInfo getOriginatorInfo()
          Returns the OriginatorInfo.
 oracle.security.crypto.cert.AttributeSet getUnprotectedAttribs()
          Returns the unprotected attributes.
 oracle.security.crypto.asn1.ASN1Integer getVersion()
          Deprecated. As of Phaos CMS 2.0.1, replaced by getVersionNumber()
 java.math.BigInteger getVersionNumber()
          Returns the version number.
 int hashCode()
          Returns a hash code value for this object.
protected  void inputContent(java.io.InputStream is)
          Initializes this object by reading the Content field of the CMS ContentInfo structure i.e.
 boolean isDetached()
          Indicates if the encrypted content is not present.
 java.util.Enumeration recipients()
          Returns the list of message recipients.
 void setEnclosed(byte[] encryptedContent)
          Sets the Encrypted Content.
protected  void setExposedContent(byte[] expContent)
          Returns the contents octets of the DER encoding of the content field of this CMS object.
 void setOriginatorInfo(OriginatorInfo origInfo)
          Sets the OriginatorInfo.
 void setUnprotectedAttribs(oracle.security.crypto.cert.AttributeSet unprotectedAttributes)
          Set the unprotected attributes.
 java.lang.String toString()
          Returns a brief text description of this object.
protected  void update()
          Clears the internal output cache.
 void writeDetached(boolean writeDetached)
          Indicate if the encrypted content must be omitted from this object's output encoding.

 

Methods inherited from class oracle.security.crypto.cms.CMSContentInfo
computeDigest, contentTypeName, getContentType, input, inputInstance, isDegenerate, length, output

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

CMSEnvelopedDataContentInfo

public CMSEnvelopedDataContentInfo()
Creates an empty CMSEnvelopedDataContentInfo.

CMSEnvelopedDataContentInfo

public CMSEnvelopedDataContentInfo(CMSContentInfo contentInfo,
                                   oracle.security.crypto.core.AlgorithmIdentifier contentEncryptionAlgID)
                            throws java.security.NoSuchAlgorithmException,
                                   javax.crypto.NoSuchPaddingException,
                                   javax.crypto.BadPaddingException,
                                   javax.crypto.IllegalBlockSizeException
Creates a CMSEnvelopedDataContentInfo.

Note the changes in exceptions Exceptions not thrown -- CipherException,AlgorithmIdentifierException Exceptions included -- NoSuchAlgorithmException,NoSuchPaddingException,BadPaddingException, IllegalBlockSizeException

Parameters:
contentInfo - The document to encrypt.
contentEncryptionAlgID - The content encryption algorithm.
Throws:
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)

CMSEnvelopedDataContentInfo

public CMSEnvelopedDataContentInfo(java.io.InputStream is)
                            throws java.io.IOException
Creates a CMSEnvelopedDataContentInfo object, by reading a BER encoding from the specified input stream.
Parameters:
is - The input stream.
Throws:
java.io.IOException - If the input is not correctly formatted, has the wrong content type, or an I/O error occurs while reading from the input stream.

Method Detail

isDetached

public boolean isDetached()
Indicates if the encrypted content is not present.
Specified by:
isDetached in class CMSContentInfo
Returns:
If true the encrypted content is not present; false otherwise.

setExposedContent

protected void setExposedContent(byte[] expContent)
Description copied from class: CMSContentInfo
Returns the contents octets of the DER encoding of the content field of this CMS object. The value returned is suitable for input to the "message-digesting" and "content-encryption" process of RFC-2630.
Specified by:
setExposedContent in class CMSContentInfo
See Also:
CMSContentInfo.isDetached()

getExposedContent

protected byte[] getExposedContent()
Description copied from class: CMSContentInfo
Returns the contents octets of the DER encoding of the content field of this CMS object. The value returned is suitable for input to the "message-digesting" and "content-encryption" process of RFC-2630.
Specified by:
getExposedContent in class CMSContentInfo
Returns:
The contents octets or null for a detached CMS object.
See Also:
CMSContentInfo.isDetached()

getVersionNumber

public java.math.BigInteger getVersionNumber()
Returns the version number.
Returns:
The version number.

getVersion

public oracle.security.crypto.asn1.ASN1Integer getVersion()
Deprecated. As of Phaos CMS 2.0.1, replaced by getVersionNumber()
Returns the version number.
Returns:
The version number.

getEnclosedContentType

public oracle.security.crypto.asn1.ASN1ObjectID getEnclosedContentType()
Returns the content type of the encrypted content.
Returns:
The content type identifier.

getContentEncryptionAlgID

public oracle.security.crypto.core.AlgorithmIdentifier getContentEncryptionAlgID()
Returns the content encryption algorithm.
Returns:
The encryption algorithm identfier.

toString

public java.lang.String toString()
Returns a brief text description of this object.
Overrides:
toString in class java.lang.Object
Returns:
A string description of this object

recipients

public java.util.Enumeration recipients()
Returns the list of message recipients.
Returns:
An enumeration of CMSRecipientInfo objects.

hashCode

public int hashCode()
Returns a hash code value for this object.
Overrides:
hashCode in class java.lang.Object
Returns:
The hash code value.

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
Overrides:
equals in class java.lang.Object
Returns:
true if this object is the same as the obj argument; false otherwise.

writeDetached

public void writeDetached(boolean writeDetached)
Indicate if the encrypted content must be omitted from this object's output encoding.
Parameters:
writeDetached - true if the encrypted content is to be omitted from this object's encoded output; false otherwise.
See Also:
CMSContentInfo.isDetached()

setEnclosed

public void setEnclosed(byte[] encryptedContent)
Sets the Encrypted Content.
Parameters:
encryptedContent - The encrypted CMSContentInfo.

addRecipient

public void addRecipient(java.security.cert.X509Certificate recipientCert,
                         oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID)
                  throws java.security.cert.CertificateEncodingException,
                         java.io.IOException,
                         java.security.NoSuchAlgorithmException,
                         javax.crypto.BadPaddingException,
                         javax.crypto.IllegalBlockSizeException,
                         java.security.InvalidKeyException,
                         javax.crypto.NoSuchPaddingException
Add a recipient.

Uses the Key Transport Recipient Information with IssuerAndSerialNumber as the Recipient Identifier.

Note the changes in the Method signature

Previouslypublic void addRecipient (X509 , AlgorithmIdentifier )

Nowpublic void addRecipient (X509Certificate , AlgorithmIdentifier )

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- CertificateEncodingException,IOException,NoSuchAlgorithmException,BadPaddingException, IllegalBlockSizeException,NoSuchPaddingException

Parameters:
recipientCert - The recipient's public key certificate.
keyEncryptionAlgID - The key encipherment algorithm.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.cert.CertificateEncodingException - Specifies an encoding error
java.io.IOException - Input/Output Exception while instantiating X509 from an inputstream

addRecipient

public void addRecipient(java.security.cert.X509Certificate recipientCert,
                         oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID,
                         boolean useSPKI64)
                  throws java.security.NoSuchAlgorithmException,
                         javax.crypto.BadPaddingException,
                         java.security.InvalidKeyException,
                         javax.crypto.IllegalBlockSizeException,
                         javax.crypto.NoSuchPaddingException
Add a recipient.

Uses the Key Transport Recipient Information with Subject Key Identifier as the Recipient Identifier.

Note the changes in the Method signature

Previouslypublic void addRecipient (X509 , AlgorithmIdentifier ,boolean )

Nowpublic void addRecipient (X509Certificate , AlgorithmIdentifier ,boolean )

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,BadPaddingException, IllegalBlockSizeException,NoSuchPaddingException

Parameters:
recipientCert - The recipient's public key certificate.
keyEncryptionAlgID - The key encipherment algorithm.
useSPKI64 - Uses Subject Public Key Identifier as the recipient identifier. true use 64 bit PKI; false use 160 bit SPKI.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)

addRecipient

public void addRecipient(CMSRecipientInfoSpec ris)
                  throws java.security.NoSuchAlgorithmException,
                         oracle.security.crypto.util.InvalidInputException,
                         java.security.InvalidKeyException,
                         javax.crypto.BadPaddingException,
                         javax.crypto.IllegalBlockSizeException,
                         javax.crypto.NoSuchPaddingException,
                         java.security.spec.InvalidKeySpecException,
                         java.security.InvalidAlgorithmParameterException
Add a recipient.

Uses the Key Encryption Key Recipient Information.

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,BadPaddingException,IllegalBlockSizeException, NoSuchPaddingException,InvalidKeySpecException,InvalidAlgorithmParameterException

Parameters:
ris - The recipient's information.
Throws:
oracle.security.crypto.util.InvalidInputException - Unrecognized RecipientInfoSpec.
java.security.InvalidKeyException - Invalid content encryption key.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.spec.InvalidKeySpecException - The key specifications not valid
java.security.InvalidAlgorithmParameterException - The algorithm parameters not valid

addRecipient

public void addRecipient(oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID,
                         javax.crypto.SecretKey keyEncryptionKey,
                         byte[] keyIdentifier,
                         java.util.Date keyDate,
                         oracle.security.crypto.asn1.ASN1Sequence otherKeyAttribute)
                  throws java.security.NoSuchAlgorithmException,
                         java.security.InvalidKeyException,
                         oracle.security.crypto.util.InvalidInputException,
                         java.security.spec.InvalidKeySpecException,
                         java.security.InvalidAlgorithmParameterException,
                         javax.crypto.NoSuchPaddingException,
                         javax.crypto.IllegalBlockSizeException,
                         javax.crypto.BadPaddingException
Add a recipient.

Uses the Key Encryption Key Recipient Information.

Note the changes in the Method signature

Previouslypublic void addRecipient (AlgorithmIdentifier , SymmetricKey , byte[] , Date , ASN1Sequence )

Nowpublic void addRecipient (AlgorithmIdentifier , SecretKey , byte[] , Date , ASN1Sequence )

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,BadPaddingException,IllegalBlockSizeException, NoSuchPaddingException,InvalidKeySpecException,InvalidAlgorithmParameterException

Parameters:
ri - A CMSKEKRecipientInfoSpec containing the recipient information.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
oracle.security.crypto.util.InvalidInputException - Unrecognized RecipientInfoSpec.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.spec.InvalidKeySpecException - The key specifications not valid
java.security.InvalidAlgorithmParameterException - The algorithm parameters not valid

getEnclosed

public CMSContentInfo getEnclosed(java.security.PrivateKey privateKey,
                                  java.security.cert.X509Certificate recipientCert)
                           throws java.security.NoSuchAlgorithmException,
                                  java.security.InvalidKeyException,
                                  UnknownRecipientException,
                                  oracle.security.crypto.util.InvalidInputException,
                                  java.security.cert.CertificateEncodingException,
                                  java.io.IOException,
                                  javax.crypto.NoSuchPaddingException,
                                  javax.crypto.IllegalBlockSizeException,
                                  javax.crypto.BadPaddingException
Returns the enclosed content after decryption.

Assumes that Key Transport Recipient Information is used.

Note the changes in the Method signature

Previouslypublic CMSContentInfo getEnclosed (oracle.security.crypto.core.PrivateKey , X509)

Nowpublic CMSContentInfo getEnclosed (java.security.PrivateKey , X509Certificate)

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,CertificateEncodingException, IOException,NoSuchPaddingException,IllegalBlockSizeException,BadPaddingException

Returns:
The decrypted CMS object.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
UnknownRecipientException - The decryption key does belong to the recipient.
oracle.security.crypto.util.InvalidInputException - If an incorrect encoding or I/O error occurred.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.cert.CertificateEncodingException - Specifies an encoding error
java.io.IOException - Input/Output Exception while instantiating X509 from an inputstream

getEnclosed

public CMSContentInfo getEnclosed(javax.crypto.SecretKey symmetricKey,
                                  byte[] keyIdentifier)
                           throws java.security.NoSuchAlgorithmException,
                                  java.security.InvalidKeyException,
                                  UnknownRecipientException,
                                  oracle.security.crypto.util.InvalidInputException,
                                  javax.crypto.BadPaddingException,
                                  javax.crypto.IllegalBlockSizeException,
                                  javax.crypto.NoSuchPaddingException,
                                  java.security.InvalidAlgorithmParameterException,
                                  java.security.spec.InvalidKeySpecException
Returns the enclosed content after decryption.

Assumes that Key Encryption Key Recipient Information is used.

Note the changes in the Method signature

Previouslypublic CMSContentInfo getEnclosed (SymmetricKey, byte[] )

Nowpublic CMSContentInfo getEnclosed (SecretKey, byte[] )

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,NoSuchPaddingException,IllegalBlockSizeException, BadPaddingException,InvalidAlgorithmParameterException,InvalidKeySpecException

Parameters:
symmetricKey - The previously distributed symmetric key.
keyIdentifier - Key identifier.
Returns:
The decrypted CMS object.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
UnknownRecipientException - The decryption key does belong to the recipient.
oracle.security.crypto.util.InvalidInputException - If an incorrect encoding or I/O error occurred.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.spec.InvalidKeySpecException - The key specifications not valid
java.security.InvalidAlgorithmParameterException - The algorithm parameters not valid

getEnclosed

public CMSContentInfo getEnclosed(javax.crypto.SecretKey symmetricKey,
                                  byte[] keyIdentifier,
                                  java.util.Date keyDate)
                           throws java.security.InvalidKeyException,
                                  UnknownRecipientException,
                                  oracle.security.crypto.util.InvalidInputException,
                                  java.security.NoSuchAlgorithmException,
                                  javax.crypto.BadPaddingException,
                                  javax.crypto.IllegalBlockSizeException,
                                  javax.crypto.NoSuchPaddingException,
                                  java.security.InvalidAlgorithmParameterException,
                                  java.security.spec.InvalidKeySpecException
Returns the enclosed content after decryption.

Assumes that Key Encryption Key Recipient Information is used.

Note the changes in the Method signature

Previouslypublic CMSContentInfo getEnclosed (SymmetricKey, byte[] ,Date)

Nowpublic CMSContentInfo getEnclosed (SecretKey, byte[],Date )

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,NoSuchPaddingException,IllegalBlockSizeException, BadPaddingException,InvalidAlgorithmParameterException,InvalidKeySpecException

Parameters:
symmetricKey - The previously distributed symmetric key.
keyIdentifier - Key identifier.
keyDate - Key generation date.
Returns:
The decrypted CMS object.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
UnknownRecipientException - The decryption key does belong to the recipient.
oracle.security.crypto.util.InvalidInputException - If an incorrect encoding or I/O error occurred.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.spec.InvalidKeySpecException - The key specifications not valid
java.security.InvalidAlgorithmParameterException - The algorithm parameters not valid

getEnclosed

public CMSContentInfo getEnclosed(javax.crypto.SecretKey symmetricKey,
                                  byte[] keyIdentifier,
                                  java.util.Date keyDate,
                                  oracle.security.crypto.asn1.ASN1Sequence otherKeyAttribute)
                           throws java.security.InvalidKeyException,
                                  UnknownRecipientException,
                                  oracle.security.crypto.util.InvalidInputException,
                                  java.security.NoSuchAlgorithmException,
                                  javax.crypto.BadPaddingException,
                                  javax.crypto.IllegalBlockSizeException,
                                  javax.crypto.NoSuchPaddingException,
                                  java.security.InvalidAlgorithmParameterException,
                                  java.security.spec.InvalidKeySpecException
Returns the enclosed content after decryption.

Assumes that Key Encryption Key Recipient Information is used.

Note the changes in the Method signature

Previouslypublic CMSContentInfo getEnclosed (SymmetricKey, byte[] ,Date , ASN1Sequence)

Nowpublic CMSContentInfo getEnclosed (SecretKey, byte[],Date ,ASN1Sequence)

Note the changes in exceptions Exceptions no longer thrown --AlgorithmIdentifierException,CipherException Exceptions included -- NoSuchAlgorithmException,NoSuchPaddingException,IllegalBlockSizeException, BadPaddingException,InvalidAlgorithmParameterException,InvalidKeySpecException

Parameters:
symmetricKey - The previously distributed symmetric key.
keyIdentifier - Key identifier.
keyDate - Key generation date.
otherKeyAttribute - The Other Key Attribute.
Returns:
The decrypted CMS object.
Throws:
java.security.InvalidKeyException - Invalid content encryption key.
UnknownRecipientException - The decryption key does belong to the recipient.
oracle.security.crypto.util.InvalidInputException - If an incorrect encoding or I/O error occurred.
javax.crypto.NoSuchPaddingException - Padding mechanism not supported
java.security.NoSuchAlgorithmException - Algorithm Not supported
javax.crypto.BadPaddingException - Expected padding in the input not found
javax.crypto.IllegalBlockSizeException - Invalid Block size (Cipher)
java.security.spec.InvalidKeySpecException - The key specifications not valid
java.security.InvalidAlgorithmParameterException - The algorithm parameters not valid

inputContent

protected void inputContent(java.io.InputStream is)
                     throws java.io.IOException
Description copied from class: CMSContentInfo
Initializes this object by reading the Content field of the CMS ContentInfo structure i.e. the input stream must be positioned at the value octets of the Content field i.e. after the explicit [0] tag.

This method must be implemented by subclasses. It is unlikely that package users will ever need to call it directly.

Specified by:
inputContent in class CMSContentInfo
Throws:
java.io.IOException

getEncryptedContent

public byte[] getEncryptedContent()
Returns the enclosed content which is encrypted.
Returns:
The encrypted content.

setOriginatorInfo

public void setOriginatorInfo(OriginatorInfo origInfo)
Sets the OriginatorInfo.

Do not use this method if PKCS#7 v1.5 interoperability is required.

Parameters:
origInfo - The OriginatorInfo.

getOriginatorInfo

public OriginatorInfo getOriginatorInfo()
Returns the OriginatorInfo.
Returns:
The OriginatorInfo if present or null otherwise.

setUnprotectedAttribs

public void setUnprotectedAttribs(oracle.security.crypto.cert.AttributeSet unprotectedAttributes)
Set the unprotected attributes.
Parameters:
unprotectedAttributes - The unprotected attributes.

getUnprotectedAttribs

public oracle.security.crypto.cert.AttributeSet getUnprotectedAttribs()
Returns the unprotected attributes.
Returns:
The set of unprotected attributes if present or null otherwise.

update

protected void update()
Clears the internal output cache. This method is called automatically if the object ever changes, so API users need not be concerned with it. Implementors of subclasses, however, do need to ensure that it gets called when appropriate.
Overrides:
update in class CMSContentInfo

Skip navigation links

Oracle Fusion Middleware CMS Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10667-03


Copyright © 2005, 2011 , Oracle. All rights reserved.