Class EncryptedDataHeaderBlock

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

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

    
     <xmp>
     <element name='EncryptedData' type='xenc:EncryptedDataType'/>
     <complexType name='EncryptedDataType'>
         <complexContent>
             <extension base='xenc:EncryptedType'/>
         </complexContent>
     </complexType>
     </xmp>
    
    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​(javax.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​(javax.xml.soap.SOAPElement element)
                                                   throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException