|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xml.crypto.dsig.dom.XMLStructureImpl
com.ibm.xml.crypto.dsig.dom.SignedInfoImpl
class SignedInfoImpl
Field Summary | |
---|---|
(package private) java.util.List |
content
|
Fields inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl |
---|
afactory |
Constructor Summary | |
---|---|
SignedInfoImpl(AlgorithmFactory f,
CanonicalizationMethod cm,
SignatureMethod sm,
java.util.List references,
java.lang.String id)
|
Method Summary | |
---|---|
CanonicalizationMethod |
getCanonicalizationMethod()
Returns the canonicalization method of this SignedInfo . |
java.io.InputStream |
getCanonicalizedData()
Returns the canonicalized signed info bytes after a signing or validation operation. |
java.lang.String |
getId()
Returns the optional Id attribute of this
SignedInfo . |
(package private) KeySelectorResult |
getKeySelectorResult()
|
java.util.List |
getReferences()
Returns an unmodifiable list of one or more Reference s. |
SignatureMethod |
getSignatureMethod()
Returns the signature method of this SignedInfo . |
(package private) void |
setNode(org.w3c.dom.Node n)
|
(package private) void |
setSignatureNode(org.w3c.dom.Node n)
Called by XMLSignatureImpl for sign()/validate(). |
(package private) byte[] |
sign(XMLSignContext scontext,
KeyInfo ki)
Sign ds:SignedInfo. |
(package private) boolean |
validate(XMLValidateContext vcontext,
KeyInfo ki,
byte[] sv)
|
Methods inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl |
---|
isFeatureSupported |
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.XMLStructure |
---|
isFeatureSupported |
Field Detail |
---|
java.util.List content
Constructor Detail |
---|
SignedInfoImpl(AlgorithmFactory f, CanonicalizationMethod cm, SignatureMethod sm, java.util.List references, java.lang.String id)
Method Detail |
---|
public java.lang.String getId()
SignedInfo
Id
attribute of this
SignedInfo
.
getId
in interface SignedInfo
null
if not specified)public java.util.List getReferences()
SignedInfo
unmodifiable list
of one or more Reference
s.
getReferences
in interface SignedInfo
Reference
spublic CanonicalizationMethod getCanonicalizationMethod()
SignedInfo
SignedInfo
.
getCanonicalizationMethod
in interface SignedInfo
public SignatureMethod getSignatureMethod()
SignedInfo
SignedInfo
.
getSignatureMethod
in interface SignedInfo
public java.io.InputStream getCanonicalizedData()
SignedInfo
getCanonicalizedData
in interface SignedInfo
InputStream
containing the canonicalized bytes,
or null
if this SignedInfo
has not been
signed or validated yetKeySelectorResult getKeySelectorResult()
void setSignatureNode(org.w3c.dom.Node n)
void setNode(org.w3c.dom.Node n)
byte[] sign(XMLSignContext scontext, KeyInfo ki) throws XMLSignatureException
XMLSignatureException
boolean validate(XMLValidateContext vcontext, KeyInfo ki, byte[] sv) throws XMLSignatureException
XMLSignatureException
|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |