|
|||||||||
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 | |
---|---|
void |
addReference(java.lang.String href)
|
java.security.cert.X509Certificate |
getCertificate()
Return the X.509 cert to associated with the signature |
java.security.PublicKey |
getPublicKey()
Get the public key associated with the signature |
java.lang.String[] |
getReferences()
|
java.lang.String |
getSigningAlgorithm()
|
java.security.PrivateKey |
getSigningKey()
Return the private key with which to sign the element |
java.lang.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 |
void |
setCertificate(java.security.cert.X509Certificate cert)
Set the X.509 cert to associate with the signature |
void |
setPublicKey(java.security.PublicKey publickey)
Set the public key to associate with the signature |
void |
setSignedLinkRels(java.lang.String... rel)
Only sign links whose link rels match those provided in the list |
void |
setSigningAlgorithm(java.lang.String algorithm)
|
void |
setSigningKey(java.security.PrivateKey privateKey)
Set the private key with which to sign the element |
void |
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 |
---|
java.lang.String getSigningAlgorithm()
void setSigningAlgorithm(java.lang.String algorithm)
java.security.PrivateKey getSigningKey()
void setSigningKey(java.security.PrivateKey privateKey)
java.security.cert.X509Certificate getCertificate()
void setCertificate(java.security.cert.X509Certificate cert)
java.security.PublicKey getPublicKey()
void setPublicKey(java.security.PublicKey publickey)
void addReference(java.lang.String href)
java.lang.String[] getReferences()
void setSignLinks(boolean signlinks)
boolean isSignLinks()
void setSignedLinkRels(java.lang.String... rel)
java.lang.String[] getSignLinkRels()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |