|
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 References. |
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()
SignedInfoId attribute of this
SignedInfo.
getId in interface SignedInfonull if not specified)public java.util.List getReferences()
SignedInfounmodifiable list of one or more References.
getReferences in interface SignedInfoReferencespublic CanonicalizationMethod getCanonicalizationMethod()
SignedInfoSignedInfo.
getCanonicalizationMethod in interface SignedInfopublic SignatureMethod getSignatureMethod()
SignedInfoSignedInfo.
getSignatureMethod in interface SignedInfopublic java.io.InputStream getCanonicalizedData()
SignedInfo
getCanonicalizedData in interface SignedInfoInputStream 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 | |||||||||