|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SignatureOptions
Provides access to the information necessary to signed an Abdera element
Method Summary | |
---|---|
SignatureOptions |
addReference(String href)
|
X509Certificate |
getCertificate()
Return the X.509 cert to associated with the signature |
PublicKey |
getPublicKey()
Get the public key associated with the signature |
String[] |
getReferences()
|
String |
getSigningAlgorithm()
|
PrivateKey |
getSigningKey()
Return the private key with which to sign the element |
String[] |
getSignLinkRels()
Get the list of link relations to sign |
boolean |
isSignLinks()
True if atom:link/@href and atom:content/@src targets should be included in the signature |
SignatureOptions |
setCertificate(X509Certificate cert)
Set the X.509 cert to associate with the signature |
SignatureOptions |
setPublicKey(PublicKey publickey)
Set the public key to associate with the signature |
SignatureOptions |
setSignedLinkRels(String... rel)
Only sign links whose link rels match those provided in the list |
SignatureOptions |
setSigningAlgorithm(String algorithm)
|
SignatureOptions |
setSigningKey(PrivateKey privateKey)
Set the private key with which to sign the element |
SignatureOptions |
setSignLinks(boolean signlinks)
True if atom:link/@href and atom:content/@src targets should be included in the signature |
Methods inherited from interface org.apache.abdera.security.SecurityOptions |
---|
getParser, setParser |
Method Detail |
---|
String getSigningAlgorithm()
SignatureOptions setSigningAlgorithm(String algorithm)
PrivateKey getSigningKey()
SignatureOptions setSigningKey(PrivateKey privateKey)
X509Certificate getCertificate()
SignatureOptions setCertificate(X509Certificate cert)
PublicKey getPublicKey()
SignatureOptions setPublicKey(PublicKey publickey)
SignatureOptions addReference(String href)
String[] getReferences()
SignatureOptions setSignLinks(boolean signlinks)
boolean isSignLinks()
SignatureOptions setSignedLinkRels(String... rel)
String[] getSignLinkRels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |