Class CTKeyEncryptor
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 Summary
Fields Modifier and Type Field Description protected CTCertificateKeyEncryptorencryptedCertificateKeyprotected CTPasswordKeyEncryptorencryptedPasswordKeyprotected java.lang.Stringuri -
Constructor Summary
Constructors Constructor Description CTKeyEncryptor() -
Method Summary
Modifier and Type Method Description CTCertificateKeyEncryptorgetEncryptedCertificateKey()Gets the value of the encryptedCertificateKey property.CTPasswordKeyEncryptorgetEncryptedPasswordKey()Gets the value of the encryptedPasswordKey property.java.lang.StringgetUri()Gets the value of the uri property.voidsetEncryptedCertificateKey(CTCertificateKeyEncryptor value)Sets the value of the encryptedCertificateKey property.voidsetEncryptedPasswordKey(CTPasswordKeyEncryptor value)Sets the value of the encryptedPasswordKey property.voidsetUri(java.lang.String value)Sets the value of the uri property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
encryptedPasswordKey
-
encryptedCertificateKey
-
uri
protected java.lang.String uri
-
-
Constructor Details
-
CTKeyEncryptor
public CTKeyEncryptor()
-
-
Method Details
-
getEncryptedPasswordKey
Gets the value of the encryptedPasswordKey property.- Returns:
- possible object is
CTPasswordKeyEncryptor
-
setEncryptedPasswordKey
Sets the value of the encryptedPasswordKey property.- Parameters:
value- allowed object isCTPasswordKeyEncryptor
-
getEncryptedCertificateKey
Gets the value of the encryptedCertificateKey property.- Returns:
- possible object is
CTCertificateKeyEncryptor
-
setEncryptedCertificateKey
Sets the value of the encryptedCertificateKey property.- Parameters:
value- allowed object isCTCertificateKeyEncryptor
-
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 isString
-