public class Signature extends SignatureType implements XMLSignature
XMLSignature.SignatureValueid, keyInfo, object, signatureValue, signedInfoXMLNS| Constructor and Description |
|---|
Signature()
Creates a new instance of Signature
|
| Modifier and Type | Method and Description |
|---|---|
KeyInfo |
getKeyInfo() |
KeySelectorResult |
getKeySelectorResult() |
List |
getObjects() |
XMLSignature.SignatureValue |
getSignatureValue() |
SignedInfo |
getSignedInfo() |
String |
getType() |
Key |
getVerificationKey() |
boolean |
isFeatureSupported(String string) |
void |
setObjects(List<XMLObject> objects) |
void |
setSignedInfo(byte[] si) |
void |
setSignedInfo(org.jvnet.staxex.XMLStreamReaderEx streamReader) |
void |
setType(String type) |
void |
setVerificationKey(Key key) |
void |
sign(XMLSignContext xMLSignContext) |
boolean |
validate(XMLValidateContext xMLValidateContext) |
getId, getObject, setId, setKeyInfo, setSignatureValue, setSignedInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic void setSignedInfo(org.jvnet.staxex.XMLStreamReaderEx streamReader)
public void setSignedInfo(byte[] si)
public void setVerificationKey(Key key)
public Key getVerificationKey()
public boolean validate(XMLValidateContext xMLValidateContext) throws XMLSignatureException
validate in interface XMLSignatureXMLSignatureExceptionpublic List getObjects()
getObjects in interface XMLSignaturepublic void sign(XMLSignContext xMLSignContext) throws MarshalException, XMLSignatureException
sign in interface XMLSignatureMarshalExceptionXMLSignatureExceptionpublic KeySelectorResult getKeySelectorResult()
getKeySelectorResult in interface XMLSignaturepublic boolean isFeatureSupported(String string)
isFeatureSupported in interface XMLStructurepublic XMLSignature.SignatureValue getSignatureValue()
getSignatureValue in interface XMLSignaturepublic SignedInfo getSignedInfo()
getSignedInfo in interface XMLSignaturepublic KeyInfo getKeyInfo()
getKeyInfo in interface XMLSignaturepublic String getType()
public void setType(String type)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.