# Uses of Interface
org.opensaml.xmlsec.encryption.EncryptedType

Packages that use EncryptedType
Package
Description
org.opensaml.xmlsec.encryption
XMLObject interfaces and helper classes for representing encrypted content and encrypting/decrypting content.
org.opensaml.xmlsec.encryption.impl
Implementations of the interfaces for XMLObjects that represent XML encryption types.
org.opensaml.xmlsec.encryption.support
Functional support for XML Encryption.

## Uses of EncryptedType in org.opensaml.xmlsec.encryption

Subinterfaces of EncryptedType in org.opensaml.xmlsec.encryption
Modifier and Type
Interface
Description
`interface`
`EncryptedData`
XMLObject representing XML Encryption, version 20021210, EncryptedData element.
`interface`
`EncryptedKey`
XMLObject representing XML Encryption, version 20021210, EncryptedKey element.

## Uses of EncryptedType in org.opensaml.xmlsec.encryption.impl

Classes in org.opensaml.xmlsec.encryption.impl that implement EncryptedType
Modifier and Type
Class
Description
`class`
`EncryptedDataImpl`
Concrete implementation of `EncryptedData`.
`class`
`EncryptedKeyImpl`
Concrete implementation of `EncryptedKey`.
`class`
`EncryptedTypeImpl`
Abstract implementation of `EncryptedType`.

## Uses of EncryptedType in org.opensaml.xmlsec.encryption.support

Methods in org.opensaml.xmlsec.encryption.support with parameters of type EncryptedType
Modifier and Type
Method
Description
`private CriteriaSet`
Decrypter.`buildCredentialCriteria(EncryptedType encryptedType, CriteriaSet staticCriteria)`
Utility method to build a new set of credential criteria based on the KeyInfo of an EncryptedData or EncryptedKey, and any additional static criteria which might have been supplied to the decrypter.
`private Set<Criterion>`
Decrypter.`buildKeyCriteria(EncryptedType encryptedType)`
Build decryption key credential criteria according to information in the encrypted type object.
`protected void`
DefaultPreDecryptionValidator.`performCommonValidation(EncryptedType encryptedType)`
Perform validation common to both `EncryptedData` and `EncryptedKey`.