public interface SignaturePolicyStore extends XMLStructure
SignaturePolicyStore
type as defined in ETSI ETSI EN 319 132-1.
The XML Schema Definition is defined as:
<xsd:element name="SignaturePolicyStore" type="SignaturePolicyStoreType"/> <xsd:complexType name="SignaturePolicyStoreType"> <xsd:sequence> <xsd:element ref="SPDocSpecification"/> <xsd:choice> <xsd:element name="SignaturePolicyDocument" type="xsd:base64Binary"/> <xsd:element name="SigPolDocLocalURI" type="xsd:anyURI"/> </xsd:choice> </xsd:sequence> </xsd:complexType> <xsd:element name="SPDocSpecification" type="xades:ObjectIdentifierType"/>
A SignaturePolicyStore
property may be created by invoking the
QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, byte[], String)
,
QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, java.io.InputStream, String)
,
or
QualifyingPropertiesFactory.newSignaturePolicyStore(SPDocSpecification, String, String)
method of the
QualifyingPropertiesFactory
class.
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_NAME
The local name of this element.
|
static String |
LOCAL_NAME_SIG_POLDOC_LOCALURI
The local name of the SigPolDocLocalURI.
|
static String |
LOCAL_NAME_SIGNATURE_POLICY_DOCUMENT
The local name of the SignaturePolicyDocument.
|
static String |
LOCAL_NAME_SPDOC_SPECIFICATION
The local name of the SPDocSpecification.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the
Id -attribute value. |
byte[] |
getSignaturePolicyDocument()
Returns the signature policy document retrieved from the base64 encoded
content of the <SignaturePolicyDocument> element.
|
String |
getSigPolDocLocalURI()
Returns the uri to the local stored signature policy document.
|
SPDocSpecification |
getSpDocSpecification()
Returns the
SPDocSpecification definig the syntax used
for producing the signature policy document. |
isFeatureSupported
static final String LOCAL_NAME
static final String LOCAL_NAME_SPDOC_SPECIFICATION
static final String LOCAL_NAME_SIGNATURE_POLICY_DOCUMENT
static final String LOCAL_NAME_SIG_POLDOC_LOCALURI
SPDocSpecification getSpDocSpecification()
SPDocSpecification
definig the syntax used
for producing the signature policy document.SPDocSpecification
.String getSigPolDocLocalURI()
null
byte[] getSignaturePolicyDocument()
null
.String getId()
Id
-attribute value.Id
-attribute value© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC