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:
- XMLSignature, XMLStructure
public class Signature
- extends SignatureType
- implements XMLSignature
- Author:
- Abhijit Das, K.Venugopal@sun.com
|
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 |
Signature
public Signature()
- Creates a new instance of Signature
setSignedInfo
public void setSignedInfo(XMLStreamReaderEx streamReader)
setSignedInfo
public void setSignedInfo(byte[] si)
setVerificationKey
public void setVerificationKey(Key key)
getVerificationKey
public Key getVerificationKey()
validate
public boolean validate(XMLValidateContext xMLValidateContext)
throws XMLSignatureException
- Specified by:
validate in interface XMLSignature
- Throws:
XMLSignatureException
getObjects
public List getObjects()
- Specified by:
getObjects in interface XMLSignature
sign
public void sign(XMLSignContext xMLSignContext)
throws MarshalException,
XMLSignatureException
- Specified by:
sign in interface XMLSignature
- Throws:
MarshalException
XMLSignatureException
getKeySelectorResult
public KeySelectorResult getKeySelectorResult()
- Specified by:
getKeySelectorResult in interface XMLSignature
isFeatureSupported
public boolean isFeatureSupported(String string)
- Specified by:
isFeatureSupported in interface XMLStructure
getSignatureValue
public XMLSignature.SignatureValue getSignatureValue()
- Specified by:
getSignatureValue in interface XMLSignature
getSignedInfo
public SignedInfo getSignedInfo()
- Specified by:
getSignedInfo in interface XMLSignature
getKeyInfo
public KeyInfo getKeyInfo()
- Specified by:
getKeyInfo in interface XMLSignature
setObjects
public void setObjects(List<XMLObject> objects)
getType
public String getType()
setType
public void setType(String type)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.