Class Signature
java.lang.Object
com.sun.xml.security.core.dsig.SignatureType
com.sun.xml.ws.security.opt.crypto.dsig.Signature
- All Implemented Interfaces:
XMLSignature,XMLStructure
- Author:
- Abhijit Das, K.Venugopal@sun.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.xml.crypto.dsig.XMLSignature
XMLSignature.SignatureValue -
Field Summary
Fields inherited from class com.sun.xml.security.core.dsig.SignatureType
id, keyInfo, object, signatureValue, signedInfoFields inherited from interface javax.xml.crypto.dsig.XMLSignature
XMLNS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanisFeatureSupported(String string) voidsetObjects(List<XMLObject> objects) voidsetSignedInfo(byte[] si) voidsetSignedInfo(org.jvnet.staxex.XMLStreamReaderEx streamReader) voidvoidsetVerificationKey(Key key) voidsign(XMLSignContext xMLSignContext) booleanvalidate(XMLValidateContext xMLValidateContext) Methods inherited from class com.sun.xml.security.core.dsig.SignatureType
getId, getObject, setId, setKeyInfo, setSignatureValue, setSignedInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.dsig.XMLSignature
getId
-
Constructor Details
-
Signature
public Signature()Creates a new instance of Signature
-
-
Method Details
-
setSignedInfo
public void setSignedInfo(org.jvnet.staxex.XMLStreamReaderEx streamReader) -
setSignedInfo
public void setSignedInfo(byte[] si) -
setVerificationKey
-
getVerificationKey
-
validate
- Specified by:
validatein interfaceXMLSignature- Throws:
XMLSignatureException
-
getObjects
- Specified by:
getObjectsin interfaceXMLSignature
-
sign
- Specified by:
signin interfaceXMLSignature- Throws:
MarshalExceptionXMLSignatureException
-
getKeySelectorResult
- Specified by:
getKeySelectorResultin interfaceXMLSignature
-
isFeatureSupported
- Specified by:
isFeatureSupportedin interfaceXMLStructure
-
getSignatureValue
- Specified by:
getSignatureValuein interfaceXMLSignature
-
getSignedInfo
- Specified by:
getSignedInfoin interfaceXMLSignature
-
getKeyInfo
- Specified by:
getKeyInfoin interfaceXMLSignature
-
setObjects
-
getType
-
setType
-