Class CTKeyEncryptor
java.lang.Object
org.docx4j.com.microsoft.schemas.office.x2006.encryption.CTKeyEncryptor
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
Modifier and TypeFieldDescriptionprotected CTCertificateKeyEncryptor
protected CTPasswordKeyEncryptor
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the encryptedCertificateKey property.Gets the value of the encryptedPasswordKey property.getUri()
Gets the value of the uri property.void
Sets the value of the encryptedCertificateKey property.void
Sets the value of the encryptedPasswordKey property.void
Sets the value of the uri property.
-
Field Details
-
encryptedPasswordKey
-
encryptedCertificateKey
-
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
Gets the value of the uri property.- Returns:
- possible object is
String
-
setUri
Sets the value of the uri property.- Parameters:
value
- allowed object isString
-