|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.rdfcontext.signing.LiveDBinSignature
A LiveBDinSignature is capable of signing data, it requires a private key as well as a public one.
| Constructor Summary | |
LiveDBinSignature()
|
|
| Method Summary | |
void |
checkPublicAvailability(IURLResolver urlresolver)
Deprecated. this method should no more be used to check the availability, it should be done at a upper level... |
java.net.URL |
getCertificateURL()
|
abstract java.lang.String |
getKindOfCertificate()
|
void |
setCertificateURL(java.net.URL url)
Sets the location (URL) of the certificate used to sign data. |
java.lang.String |
sign(java.lang.String dataToSign)
Sign a data string and return the base64 string signature value |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LiveDBinSignature()
| Method Detail |
public java.lang.String sign(java.lang.String dataToSign)
throws java.security.SignatureException
dataToSign -
java.security.SignatureException
public void checkPublicAvailability(IURLResolver urlresolver)
throws NoPublicAvailabilityException
urlresolver - a URLResolver or null to use the default resolver
NoPublicAvailabilityExceptionDefaultURLResolverpublic java.net.URL getCertificateURL()
public void setCertificateURL(java.net.URL url)
url - public abstract java.lang.String getKindOfCertificate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||