org.apache.poi.poifs.crypt.dsig.services
Interface SignaturePolicyService


public interface SignaturePolicyService

Interface for the signature policy service.


Method Summary
 java.lang.String getSignaturePolicyDescription()
          Gives back the short description of the signature policy or null if a description is not available.
 byte[] getSignaturePolicyDocument()
          Gives back the signature policy document.
 java.lang.String getSignaturePolicyDownloadUrl()
          Gives back the download URL where the signature policy document can be found.
 java.lang.String getSignaturePolicyIdentifier()
          Gives back the signature policy identifier URI.
 

Method Detail

getSignaturePolicyIdentifier

java.lang.String getSignaturePolicyIdentifier()
Gives back the signature policy identifier URI.

Returns:
the signature policy identifier URI.

getSignaturePolicyDescription

java.lang.String getSignaturePolicyDescription()
Gives back the short description of the signature policy or null if a description is not available.

Returns:
the description, or null.

getSignaturePolicyDownloadUrl

java.lang.String getSignaturePolicyDownloadUrl()
Gives back the download URL where the signature policy document can be found. Can be null in case such a download location does not exist.

Returns:
the download URL, or null.

getSignaturePolicyDocument

byte[] getSignaturePolicyDocument()
Gives back the signature policy document.

Returns:
the bytes of the signature policy document.