Class XMLCipher.Factory.EncryptedTypeImpl
- java.lang.Object
-
- org.apache.xml.security.encryption.XMLCipher.Factory.EncryptedTypeImpl
-
- Direct Known Subclasses:
XMLCipher.Factory.EncryptedDataImpl,XMLCipher.Factory.EncryptedKeyImpl
- Enclosing class:
- XMLCipher.Factory
private abstract class XMLCipher.Factory.EncryptedTypeImpl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private CipherDatacipherDataprivate java.lang.Stringencodingprivate EncryptionMethodencryptionMethodprivate EncryptionPropertiesencryptionPropertiesprivate java.lang.Stringidprivate KeyInfokeyInfoprivate java.lang.StringmimeTypeprivate java.lang.Stringtype
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncryptedTypeImpl(CipherData data)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipherDatagetCipherData()java.lang.StringgetEncoding()EncryptionMethodgetEncryptionMethod()EncryptionPropertiesgetEncryptionProperties()java.lang.StringgetId()KeyInfogetKeyInfo()java.lang.StringgetMimeType()java.lang.StringgetType()voidsetEncoding(java.lang.String encoding)voidsetEncryptionMethod(EncryptionMethod method)voidsetEncryptionProperties(EncryptionProperties properties)voidsetId(java.lang.String id)voidsetKeyInfo(KeyInfo info)voidsetMimeType(java.lang.String type)voidsetType(java.lang.String type)
-
-
-
Field Detail
-
id
private java.lang.String id
-
type
private java.lang.String type
-
mimeType
private java.lang.String mimeType
-
encoding
private java.lang.String encoding
-
encryptionMethod
private EncryptionMethod encryptionMethod
-
keyInfo
private KeyInfo keyInfo
-
cipherData
private CipherData cipherData
-
encryptionProperties
private EncryptionProperties encryptionProperties
-
-
Constructor Detail
-
EncryptedTypeImpl
protected EncryptedTypeImpl(CipherData data)
Constructor.- Parameters:
data-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- the Id
-
setId
public void setId(java.lang.String id)
- Parameters:
id-
-
getType
public java.lang.String getType()
- Returns:
- the type
-
setType
public void setType(java.lang.String type)
- Parameters:
type-
-
getMimeType
public java.lang.String getMimeType()
- Returns:
- the MimeType
-
setMimeType
public void setMimeType(java.lang.String type)
- Parameters:
type-
-
getEncoding
public java.lang.String getEncoding()
- Returns:
- the encoding
-
setEncoding
public void setEncoding(java.lang.String encoding)
- Parameters:
encoding-
-
getEncryptionMethod
public EncryptionMethod getEncryptionMethod()
- Returns:
- the EncryptionMethod
-
setEncryptionMethod
public void setEncryptionMethod(EncryptionMethod method)
- Parameters:
method-
-
getKeyInfo
public KeyInfo getKeyInfo()
- Returns:
- the KeyInfo
-
setKeyInfo
public void setKeyInfo(KeyInfo info)
- Parameters:
info-
-
getCipherData
public CipherData getCipherData()
- Returns:
- the CipherData
-
getEncryptionProperties
public EncryptionProperties getEncryptionProperties()
- Returns:
- the EncryptionProperties
-
setEncryptionProperties
public void setEncryptionProperties(EncryptionProperties properties)
- Parameters:
properties-
-
-