JavaTM 2 Platform
Standard Ed. 6

介面 javax.xml.crypto.XMLStructure
的使用

使用 XMLStructure 的軟體套件
javax.xml.crypto.dom javax.xml.crypto 套件的特定於 DOM 的類別。 
javax.xml.crypto.dsig 用於產生和驗證 XML 數位簽章的類別。 
javax.xml.crypto.dsig.keyinfo 用來解析和處理 KeyInfo 元素和結構的類別。 
javax.xml.crypto.dsig.spec XML 數位簽章的參數類別。 
 

javax.xml.crypto.dom 中 XMLStructure 的使用
 

實作 XMLStructure 的 javax.xml.crypto.dom 中的類別
 class DOMStructure
          特定於 DOM 的 XMLStructure。
 

javax.xml.crypto.dsig 中 XMLStructure 的使用
 

javax.xml.crypto.dsig 中 XMLStructure 的子介面
 interface CanonicalizationMethod
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML CanonicalizationMethod 元素的表示形式。
 interface DigestMethod
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML DigestMethod 元素的表示形式。
 interface Manifest
          在 W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML Manifest 元素的表示形式。
 interface Reference
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML Reference 元素的表示形式。
 interface SignatureMethod
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML SignatureMethod 元素的表示形式。
 interface SignatureProperties
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML SignatureProperties 元素的表示形式。
 interface SignatureProperty
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML SignatureProperty 元素的表示形式。
 interface SignedInfo
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML SignedInfo 元素的表示形式。
 interface Transform
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML Transform 元素的表示形式。
 interface XMLObject
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML Object 元素的表示形式。
 interface XMLSignature
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML Signature 元素的表示形式。
static interface XMLSignature.SignatureValue
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML SignatureValue 元素的表示形式。
 

實作 XMLStructure 的 javax.xml.crypto.dsig 中的類別
 class TransformService
          轉換演算法和規範演算法的服務提供者介面。
 

參數型別為 XMLStructure 的 javax.xml.crypto.dsig 中的方法
abstract  void TransformService.init(XMLStructure parent, XMLCryptoContext context)
          使用指定的參數和文檔上下文初始化此 TransformService。
abstract  void TransformService.marshalParams(XMLStructure parent, XMLCryptoContext context)
          對特定於演算法的參數進行編組。
abstract  CanonicalizationMethod XMLSignatureFactory.newCanonicalizationMethod(String algorithm, XMLStructure params)
          針對指定的演算法 URI 和參數創建 CanonicalizationMethod。
abstract  Transform XMLSignatureFactory.newTransform(String algorithm, XMLStructure params)
          針對指定的演算法 URI 和參數創建 Transform。
abstract  XMLSignature XMLSignatureFactory.unmarshalXMLSignature(XMLStructure xmlStructure)
          從特定於機制的 XMLStructure 實例解組新的 XMLSignature 實例。
 

javax.xml.crypto.dsig.keyinfo 中 XMLStructure 的使用
 

javax.xml.crypto.dsig.keyinfo 中 XMLStructure 的子介面
 interface KeyInfo
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML KeyInfo 元素的表示形式。
 interface KeyName
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML KeyName 元素的表示形式。
 interface KeyValue
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML KeyValue 元素的表示形式。
 interface PGPData
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML PGPData 元素的表示形式。
 interface RetrievalMethod
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML RetrievalMethod 元素的表示形式。
 interface X509Data
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML X509Data 元素的表示形式。
 interface X509IssuerSerial
          W3C Recommendation for XML-Signature Syntax and Processing 中定義的 XML X509IssuerSerial 元素的表示形式。
 

參數型別為 XMLStructure 的 javax.xml.crypto.dsig.keyinfo 中的方法
 void KeyInfo.marshal(XMLStructure parent, XMLCryptoContext context)
          將密鑰資訊編組為 XML。
abstract  KeyInfo KeyInfoFactory.unmarshalKeyInfo(XMLStructure xmlStructure)
          根據特定於機制的 XMLStructure(比如:DOMStructure)實例解組新的 KeyInfo 實例。
 

javax.xml.crypto.dsig.spec 中 XMLStructure 的使用
 

返回 XMLStructure 的 javax.xml.crypto.dsig.spec 中的方法
 XMLStructure XSLTTransformParameterSpec.getStylesheet()
          返回樣式表。
 

參數型別為 XMLStructure 的 javax.xml.crypto.dsig.spec 中的建構子
XSLTTransformParameterSpec(XMLStructure stylesheet)
          創建帶有指定樣式表的 XSLTTransformParameterSpec。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。