java.lang.Object
org.docx4j.com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptor

public class CTKeyEncryptor
extends java.lang.Object
A complex type that specifies the parameters used to encrypt an intermediate key, which is used to perform the final encryption of the document. To ensure extensibility, arbitrary elements can be defined to encrypt the intermediate key. The intermediate key MUST be the same for all KeyEncryptor elements.

Java class for CT_KeyEncryptor complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_KeyEncryptor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element ref="{http://schemas.microsoft.com/office/2006/keyEncryptor/password}encryptedKey"/>
         <element ref="{http://schemas.microsoft.com/office/2006/keyEncryptor/certificate}encryptedKey"/>
       </choice>
       <attribute name="uri">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="http://schemas.microsoft.com/office/2006/keyEncryptor/password"/>
             <enumeration value="http://schemas.microsoft.com/office/2006/keyEncryptor/certificate"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTKeyEncryptor

      public CTKeyEncryptor()
  • Method Details

    • getEncryptedPasswordKey

      public CTPasswordKeyEncryptor getEncryptedPasswordKey()
      Gets the value of the encryptedPasswordKey property.
      Returns:
      possible object is CTPasswordKeyEncryptor
    • setEncryptedPasswordKey

      public void setEncryptedPasswordKey​(CTPasswordKeyEncryptor value)
      Sets the value of the encryptedPasswordKey property.
      Parameters:
      value - allowed object is CTPasswordKeyEncryptor
    • getEncryptedCertificateKey

      public CTCertificateKeyEncryptor getEncryptedCertificateKey()
      Gets the value of the encryptedCertificateKey property.
      Returns:
      possible object is CTCertificateKeyEncryptor
    • setEncryptedCertificateKey

      public void setEncryptedCertificateKey​(CTCertificateKeyEncryptor value)
      Sets the value of the encryptedCertificateKey property.
      Parameters:
      value - allowed object is CTCertificateKeyEncryptor
    • getUri

      public java.lang.String getUri()
      Gets the value of the uri property.
      Returns:
      possible object is String
    • setUri

      public void setUri​(java.lang.String value)
      Sets the value of the uri property.
      Parameters:
      value - allowed object is String