Top Description Fields Constructors Methods
org.apache.poi.poifs.crypt.agile

public Class KeyEncryptor

extends Object
Class Inheritance
Imports
org.apache.poi.EncryptedDocumentException, org.w3c.dom.Element, .NodeList

A sequence of KeyEncryptor elements. Exactly one KeyEncryptors element MUST be present, and the KeyEncryptors element MUST contain at least one KeyEncryptor.

Field Summary

Modifier and TypeField and Description
pack-priv static final String
private CertificateKeyEncryptor
pack-priv static final String
private PasswordKeyEncryptor

Constructor Summary

AccessConstructor and Description
public
public
KeyEncryptor(Element keyEncryptor)

Method Summary

Modifier and TypeMethod and Description
public CertificateKeyEncryptor
public PasswordKeyEncryptor
public void
public void
pack-priv void
write(Element keyEncryptors)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CERT_NSback to summary
pack-priv static final String CERT_NS
certificateKeyEncryptorback to summary
private CertificateKeyEncryptor certificateKeyEncryptor
PASS_NSback to summary
pack-priv static final String PASS_NS
passwordKeyEncryptorback to summary
private PasswordKeyEncryptor passwordKeyEncryptor

Constructor Detail

KeyEncryptorback to summary
public KeyEncryptor()
KeyEncryptorback to summary
public KeyEncryptor(Element keyEncryptor)

Method Detail

getCertificateKeyEncryptorback to summary
public CertificateKeyEncryptor getCertificateKeyEncryptor()
getPasswordKeyEncryptorback to summary
public PasswordKeyEncryptor getPasswordKeyEncryptor()
setCertificateKeyEncryptorback to summary
public void setCertificateKeyEncryptor(CertificateKeyEncryptor certificateKeyEncryptor)
setPasswordKeyEncryptorback to summary
public void setPasswordKeyEncryptor(PasswordKeyEncryptor passwordKeyEncryptor)
writeback to summary
pack-priv void write(Element keyEncryptors)