Class EncryptedDataHeaderBlock

  • All Implemented Interfaces:
    SecurityHeaderBlock, jakarta.xml.soap.Node, jakarta.xml.soap.SOAPElement, Element, Node

    public class EncryptedDataHeaderBlock
    extends EncryptedTypeHeaderBlock
    Corresponds to Schema definition for EncryptedData. Schema definition for EncryptedData is as follows:

    <element name='EncryptedData' type='xenc:EncryptedDataType'/> <complexType name='EncryptedDataType'> <complexContent> <extension base='xenc:EncryptedType'/> </complexContent> </complexType>
    Author:
    Vishal Mahajan
    • Constructor Detail

      • EncryptedDataHeaderBlock

        public EncryptedDataHeaderBlock()
                                 throws com.sun.xml.wss.XWSSecurityException
        Create an empty EncryptedData element.
        Throws:
        com.sun.xml.wss.XWSSecurityException - If there is problem creating an EncryptedData element.
      • EncryptedDataHeaderBlock

        public EncryptedDataHeaderBlock​(jakarta.xml.soap.SOAPElement element)
                                 throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException - If there is problem in initializing EncryptedData element.
    • Method Detail

      • fromSoapElement

        public static SecurityHeaderBlock fromSoapElement​(jakarta.xml.soap.SOAPElement element)
                                                   throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException