com.sun.xml.ws.security.opt.crypto.dsig
Class Signature
java.lang.Object
com.sun.xml.security.core.dsig.SignatureType
com.sun.xml.ws.security.opt.crypto.dsig.Signature
- All Implemented Interfaces:
- javax.xml.crypto.dsig.XMLSignature, javax.xml.crypto.XMLStructure
public class Signature
- extends SignatureType
- implements javax.xml.crypto.dsig.XMLSignature
- Author:
- Abhijit Das, K.Venugopal@sun.com
| Nested classes/interfaces inherited from interface javax.xml.crypto.dsig.XMLSignature |
javax.xml.crypto.dsig.XMLSignature.SignatureValue |
| Fields inherited from interface javax.xml.crypto.dsig.XMLSignature |
XMLNS |
|
Constructor Summary |
Signature()
Creates a new instance of Signature |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.crypto.dsig.XMLSignature |
getId |
Signature
public Signature()
- Creates a new instance of Signature
setSignedInfo
public void setSignedInfo(org.jvnet.staxex.XMLStreamReaderEx streamReader)
setSignedInfo
public void setSignedInfo(byte[] si)
setVerificationKey
public void setVerificationKey(java.security.Key key)
getVerificationKey
public java.security.Key getVerificationKey()
validate
public boolean validate(javax.xml.crypto.dsig.XMLValidateContext xMLValidateContext)
throws javax.xml.crypto.dsig.XMLSignatureException
- Specified by:
validate in interface javax.xml.crypto.dsig.XMLSignature
- Throws:
javax.xml.crypto.dsig.XMLSignatureException
getObjects
public java.util.List getObjects()
- Specified by:
getObjects in interface javax.xml.crypto.dsig.XMLSignature
sign
public void sign(javax.xml.crypto.dsig.XMLSignContext xMLSignContext)
throws javax.xml.crypto.MarshalException,
javax.xml.crypto.dsig.XMLSignatureException
- Specified by:
sign in interface javax.xml.crypto.dsig.XMLSignature
- Throws:
javax.xml.crypto.MarshalException
javax.xml.crypto.dsig.XMLSignatureException
getKeySelectorResult
public javax.xml.crypto.KeySelectorResult getKeySelectorResult()
- Specified by:
getKeySelectorResult in interface javax.xml.crypto.dsig.XMLSignature
isFeatureSupported
public boolean isFeatureSupported(java.lang.String string)
- Specified by:
isFeatureSupported in interface javax.xml.crypto.XMLStructure
getSignatureValue
public javax.xml.crypto.dsig.XMLSignature.SignatureValue getSignatureValue()
- Specified by:
getSignatureValue in interface javax.xml.crypto.dsig.XMLSignature
getSignedInfo
public SignedInfo getSignedInfo()
- Specified by:
getSignedInfo in interface javax.xml.crypto.dsig.XMLSignature
getKeyInfo
public KeyInfo getKeyInfo()
- Specified by:
getKeyInfo in interface javax.xml.crypto.dsig.XMLSignature
setObjects
public void setObjects(java.util.List<XMLObject> objects)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.