org.apache.abdera.security
Interface SignatureOptions

All Superinterfaces:
SecurityOptions

public interface SignatureOptions
extends SecurityOptions

Provides access to the information necessary to signed an Abdera element


Method Summary
 void addReference(java.lang.String href)
           
 java.security.cert.X509Certificate getCertificate()
          Return the X.509 cert to associated with the signature
 java.lang.String[] getReferences()
           
 java.security.PrivateKey getSigningKey()
          Return the private key with which to sign the element
 void setCertificate(java.security.cert.X509Certificate cert)
          Set the X.509 cert to associate with the signature
 void setSigningKey(java.security.PrivateKey privateKey)
          Set the private key with which to sign the element
 
Methods inherited from interface org.apache.abdera.security.SecurityOptions
getParser, setParser
 

Method Detail

getSigningKey

java.security.PrivateKey getSigningKey()
Return the private key with which to sign the element


setSigningKey

void setSigningKey(java.security.PrivateKey privateKey)
Set the private key with which to sign the element


getCertificate

java.security.cert.X509Certificate getCertificate()
Return the X.509 cert to associated with the signature


setCertificate

void setCertificate(java.security.cert.X509Certificate cert)
Set the X.509 cert to associate with the signature


addReference

void addReference(java.lang.String href)

getReferences

java.lang.String[] getReferences()