Class SignedInfoProcessor
- java.lang.Object
-
- com.sun.xml.ws.security.opt.impl.incoming.processor.SignedInfoProcessor
-
public class SignedInfoProcessor extends Object
- Author:
- K.Venugopal@sun.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringCANONICALIZATION_METHODstatic intCANONICALIZATION_METHOD_EVENTstatic StringDIGEST_METHODstatic intDIGEST_METHOD_EVENTstatic StringDIGEST_VALUEstatic intDIGEST_VALUE_EVENTstatic StringEXC14N_NSstatic StringINCLUSIVENAMESPACESstatic StringREFERENCEstatic intREFERENCE_EVENTstatic StringSIGNATURE_METHODstatic intSIGNATURE_METHOD_EVENTstatic StringTRANSFORMstatic intTRANSFORM_EVENTstatic StringTRANSFORMSstatic intTRANSFORMS_EVENT
-
Constructor Summary
Constructors Constructor Description SignedInfoProcessor(com.sun.xml.ws.encoding.TagInfoset signature, HashMap<String,String> parentNSDecls, XMLStreamReader reader, JAXBFilterProcessingContext pc, SignaturePolicy signPolicy, com.sun.xml.stream.buffer.MutableXMLStreamBuffer buffer)Creates a new instance of SignedInfoProcessor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLStreamWritergetCanonicalizer()intgetReferenceEventType(XMLStreamReader reader)ArrayList<Reference>getReferenceList()SignedInfoprocess()processes different types the SignedInfo element of an XMLSignaturebooleanprocessReference(Reference reference)processes the given referencevoidreadCanonicalizationMethod(XMLStreamReader reader)
-
-
-
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, XMLStreamReader reader, JAXBFilterProcessingContext pc, SignaturePolicy signPolicy, com.sun.xml.stream.buffer.MutableXMLStreamBuffer buffer)Creates a new instance of SignedInfoProcessor
-
-
Method Detail
-
getCanonicalizer
public 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(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
-
getReferenceEventType
public int getReferenceEventType(XMLStreamReader reader)
-
-