|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 | |||||||||
public interface Manifest
「W3C Recommendation for XML-Signature Syntax and Processing 」로 정의되고 있는 XML Manifest 요소의 표현. XML schema 정의는, 다음과 같이 정의됩니다.
<element name="Manifest" type="ds:ManifestType"/>
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID" use="optional"/>
</complexType>
Manifest 인스턴스는,XMLSignatureFactory 클래스의 newManifest 메소드의 1 개를 호출하는 것으로 작성됩니다. 다음에 예를 나타냅니다.
XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM");
List references = Collections.singletonList(factory.newReference
("#reference-1", DigestMethod.SHA1));
Manifest manifest = factory.newManifest(references, "manifest-1");
XMLSignatureFactory.newManifest(List) ,
XMLSignatureFactory.newManifest(List, String) | 필드의 개요 | |
|---|---|
static String |
TYPE
Manifest 요소를 식별하는 URI (이것은,Reference 클래스의 type 파라미터의 값으로 해서 지정해, 리파란트의 형태를 식별 가능). |
| 메소드의 개요 | |
|---|---|
String |
getId ()
이 Manifest 의 식별자를 돌려줍니다. |
List |
getReferences ()
이 Manifest 에 포함되고 있는 1 개(살) 이상 Reference 의변경 불가능한 리스트 를 돌려줍니다. |
| 인터페이스 javax.xml.crypto. XMLStructure 로부터 상속된 메소드 |
|---|
isFeatureSupported |
| 필드의 상세 |
|---|
static final String TYPE
Manifest 요소를 식별하는 URI (이것은,Reference 클래스의 type 파라미터의 값으로 해서 지정해, 리파란트의 형태를 식별 가능).
| 메소드의 상세 |
|---|
String getId()
Manifest 의 식별자를 돌려줍니다.
Manifest 의 식별자.
지정되지 않는 경우는 nullList getReferences()
Manifest 에 포함되고 있는 1 개(살) 이상 Reference 의변경 불가능한 리스트 를 돌려줍니다.
Reference 의 변경 불가능한 리스트
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.