Class RawXmlEncryptionFactory

  • All Implemented Interfaces:
    LicensedComponent

    public class RawXmlEncryptionFactory
    extends XmlEncFactory
    Implementation of SecurityServiceFactory for handling XML Encryption.

    If using this factory, then the entire document is encrypted and wrapped in a single EncryptedData element with the associated MimeType

    This is pure Encryption implementation, any attempt to do signing will cause a UnsupportedOperationException to be thrown.

    The underlying encryption facility only allows for the following types of (the key length is implicit in the algorithm type and does not need to be specified) :

    • TRIPLEDES_CBC
    • AES256_CBC
    • AES192_CBC
    • AES192_CBC
    See Also:
    XmlEncryptionFactory

    In the adapter configuration file this class is aliased as raw-xml-encryption-factory. which is the preferred alternative to the fully qualified classname when building your configuration.

    License Required: STANDARD

    • Constructor Detail

      • RawXmlEncryptionFactory

        public RawXmlEncryptionFactory()
    • Method Detail

      • getEncryptedDataMimeType

        public java.lang.String getEncryptedDataMimeType()
        Returns:
        the mimeType
      • setEncryptedDataMimeType

        public void setEncryptedDataMimeType​(java.lang.String s)
        Parameters:
        s - the mimeType to set
      • getEncryptedDataEncoding

        public java.lang.String getEncryptedDataEncoding()
        Returns:
        the encoding
      • setEncryptedDataEncoding

        public void setEncryptedDataEncoding​(java.lang.String encoding)
        Parameters:
        encoding - the encoding to set
      • getEncryptedDataType

        public java.lang.String getEncryptedDataType()
        Returns:
        the type
      • setEncryptedDataType

        public void setEncryptedDataType​(java.lang.String s)
        Parameters:
        s - the type to set