RetrievalMethod
RetrievalMethod (검색 메서드)
W3C 권장 사항인 XML-Signature Syntax and Processing에 정의된 XML RetrievalMethod 요소의 표현입니다.
본문
RetrievalMethod 객체는 다른 위치에 저장된 KeyInfo 정보로의 참조를 전달하는 데 사용됩니다.
XML 스키마 정의는 다음과 같습니다.
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
<complexType name="RetrievalMethodType">
<sequence>
<element name="Transforms" type="ds:TransformsType" minOccurs="0"/>
</sequence>
<attribute name="URI" type="anyURI"/>
<attribute name="Type" type="anyURI" use="optional"/>
</complexType>
주요 메서드는 다음과 같습니다.
getURI()– 이RetrievalMethod의 URI 참조를 반환합니다.getType()– 이RetrievalMethod의 선택적인Type속성 값을 반환합니다. 없으면null입니다.getTransforms()– 이 검색 메서드에 적용되는 트랜스폼 목록을 반환합니다. 리스트는 변경할 수 없습니다(unmodifiable).
RetrievalMethod는 URIReference와 XMLStructure를 확장합니다. KeyInfoFactory.newRetrievalMethod로 생성할 수 있으며, 다른 위치에 저장된 키 정보를 검색하는 데 사용됩니다.