com.sun.xml.ws.security.opt.impl.incoming.processor
Class SignedInfoProcessor

java.lang.Object
  extended by com.sun.xml.ws.security.opt.impl.incoming.processor.SignedInfoProcessor

public class SignedInfoProcessor
extends Object

Author:
K.Venugopal@sun.com

Field Summary
static String CANONICALIZATION_METHOD
           
static int CANONICALIZATION_METHOD_EVENT
           
static String DIGEST_METHOD
           
static int DIGEST_METHOD_EVENT
           
static String DIGEST_VALUE
           
static int DIGEST_VALUE_EVENT
           
static String EXC14N_NS
           
static String INCLUSIVENAMESPACES
           
static String REFERENCE
           
static int REFERENCE_EVENT
           
static String SIGNATURE_METHOD
           
static int SIGNATURE_METHOD_EVENT
           
static String TRANSFORM
           
static int TRANSFORM_EVENT
           
static String TRANSFORMS
           
static int TRANSFORMS_EVENT
           
 
Constructor Summary
SignedInfoProcessor(com.sun.xml.ws.encoding.TagInfoset signature, HashMap<String,String> parentNSDecls, javax.xml.stream.XMLStreamReader reader, JAXBFilterProcessingContext pc, SignaturePolicy signPolicy, com.sun.xml.stream.buffer.MutableXMLStreamBuffer buffer)
          Creates a new instance of SignedInfoProcessor
 
Method Summary
 javax.xml.stream.XMLStreamWriter getCanonicalizer()
           
 int getReferenceEventType(javax.xml.stream.XMLStreamReader reader)
           
 ArrayList<Reference> getReferenceList()
           
 SignedInfo process()
          processes different types the SignedInfo element of an XMLSignature
 boolean processReference(Reference reference)
          processes the given reference
 void readCanonicalizationMethod(javax.xml.stream.XMLStreamReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANONICALIZATION_METHOD_EVENT

public static final int CANONICALIZATION_METHOD_EVENT
See Also:
Constant Field Values

SIGNATURE_METHOD_EVENT

public static final int SIGNATURE_METHOD_EVENT
See Also:
Constant Field Values

REFERENCE_EVENT

public static final int REFERENCE_EVENT
See Also:
Constant Field Values

DIGEST_METHOD_EVENT

public static final int DIGEST_METHOD_EVENT
See Also:
Constant Field Values

DIGEST_VALUE_EVENT

public static final int DIGEST_VALUE_EVENT
See Also:
Constant Field Values

TRANSFORM_EVENT

public static final int TRANSFORM_EVENT
See Also:
Constant Field Values

TRANSFORMS_EVENT

public static final int TRANSFORMS_EVENT
See Also:
Constant Field Values

CANONICALIZATION_METHOD

public static final String CANONICALIZATION_METHOD
See Also:
Constant Field Values

SIGNATURE_METHOD

public static final String SIGNATURE_METHOD
See Also:
Constant Field Values

REFERENCE

public static final String REFERENCE
See Also:
Constant Field Values

INCLUSIVENAMESPACES

public static final String INCLUSIVENAMESPACES
See Also:
Constant Field Values

EXC14N_NS

public static final String EXC14N_NS
See Also:
Constant Field Values

TRANSFORMS

public static final String TRANSFORMS
See Also:
Constant Field Values

TRANSFORM

public static final String TRANSFORM
See Also:
Constant Field Values

DIGEST_METHOD

public static final String DIGEST_METHOD
See Also:
Constant Field Values

DIGEST_VALUE

public static final String DIGEST_VALUE
See Also:
Constant Field Values
Constructor Detail

SignedInfoProcessor

public SignedInfoProcessor(com.sun.xml.ws.encoding.TagInfoset signature,
                           HashMap<String,String> parentNSDecls,
                           javax.xml.stream.XMLStreamReader reader,
                           JAXBFilterProcessingContext pc,
                           SignaturePolicy signPolicy,
                           com.sun.xml.stream.buffer.MutableXMLStreamBuffer buffer)
Creates a new instance of SignedInfoProcessor

Method Detail

getCanonicalizer

public javax.xml.stream.XMLStreamWriter getCanonicalizer()

process

public SignedInfo process()
                   throws XWSSecurityException
processes different types the SignedInfo element of an XMLSignature

Returns:
SignedInfo
Throws:
XWSSecurityException

readCanonicalizationMethod

public void readCanonicalizationMethod(javax.xml.stream.XMLStreamReader reader)
                                throws XWSSecurityException
Parameters:
reader - XMLStreamReader
Throws:
XWSSecurityException

processReference

public boolean processReference(Reference reference)
                         throws XWSSecurityException
processes the given reference

Parameters:
reference - Reference
Returns:
boolean
Throws:
XWSSecurityException

getReferenceList

public ArrayList<Reference> getReferenceList()

getReferenceEventType

public int getReferenceEventType(javax.xml.stream.XMLStreamReader reader)


Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.