org.apache.abdera.security
Interface Signature


public interface Signature


Field Summary
static Signature INSTANCE
           
 
Method Summary
 SignatureOptions getDefaultSignatureOptions()
           
 boolean isSigned(Entry entry)
           
 boolean isSigned(Feed feed)
           
 Entry sign(Entry entry, SignatureOptions options)
           
 Feed sign(Feed feed, SignatureOptions options)
           
 boolean verify(Entry entry, SignatureOptions options)
           
 boolean verify(Feed feed, SignatureOptions options)
           
 

Field Detail

INSTANCE

static final Signature INSTANCE
Method Detail

isSigned

boolean isSigned(Entry entry)
                 throws SecurityException
Throws:
SecurityException

isSigned

boolean isSigned(Feed feed)
                 throws SecurityException
Throws:
SecurityException

sign

Entry sign(Entry entry,
           SignatureOptions options)
           throws SecurityException
Throws:
SecurityException

sign

Feed sign(Feed feed,
          SignatureOptions options)
          throws SecurityException
Throws:
SecurityException

verify

boolean verify(Entry entry,
               SignatureOptions options)
               throws SecurityException
Throws:
SecurityException

verify

boolean verify(Feed feed,
               SignatureOptions options)
               throws SecurityException
Throws:
SecurityException

getDefaultSignatureOptions

SignatureOptions getDefaultSignatureOptions()
                                            throws SecurityException
Throws:
SecurityException