|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
public interface SignatureProperty
「W3C Recommendation for XML-Signature Syntax and Processing 」으로 정의되고 있는 XML SignatureProperty 요소의 표현. XML schema 정의는, 다음과 같이 정의됩니다.
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax"/>
<! -- (1,1) elements from (1, unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required"/>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
SignatureProperty 인스턴스는,XMLSignatureFactory 클래스의 newSignatureProperty 메소드를 호출하는 것으로 작성됩니다. 다음에 예를 나타냅니다.
XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM");
SignatureProperty property = factory.newSignatureProperty
(Collections.singletonList(content), "#Signature-1", "TimeStamp");
XMLSignatureFactory.newSignatureProperty(List, String, String) ,
SignatureProperties | 메소드의 개요 | |
|---|---|
List |
getContent ()
이 SignatureProperty 에 포함되고 있는 1 개(살) 이상 XMLStructure 의변경 불가능한 리스트 를 돌려줍니다. |
String |
getId ()
이 SignatureProperty 의 식별자를 돌려줍니다. |
String |
getTarget ()
이 SignatureProperty 의 타겟 URI 를 돌려줍니다. |
| 인터페이스 javax.xml.crypto. XMLStructure 로부터 상속된 메소드 |
|---|
isFeatureSupported |
| 메소드의 상세 |
|---|
String getTarget()
SignatureProperty 의 타겟 URI 를 돌려줍니다.
SignatureProperty 의 타겟 URI.
null 는 되지 않는다String getId()
SignatureProperty 의 식별자를 돌려줍니다.
SignatureProperty 의 식별자.
지정되지 않는 경우는,null 도 가능List getContent()
SignatureProperty 에 포함되고 있는 1 개(살) 이상 XMLStructure 의변경 불가능한 리스트 를 돌려줍니다. 이것들은,XMLSignature 의 생성에 관한 추가 정보 항목 (즉, 서명 생성에 사용되는 암호화 하드웨어의 일시 타임 스탬프 또는 시리얼 번호)을 표현합니다.
XMLStructure 의 변경 불가능한 리스트
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.