|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Signature
Interface used for digitally signing and verifying Abdera elements
| Method Summary | ||
|---|---|---|
SignatureOptions |
getDefaultSignatureOptions()
Returns the default signing options |
|
|
getSignatureKeyInfo(T element,
SignatureOptions options)
|
|
|
getValidSignatureCertificates(T element,
SignatureOptions options)
Returns a listing of X.509 certificates of valid digital signatures in the element |
|
|
isSigned(T element)
Return true if the element has been digitally signed |
|
|
removeInvalidSignatures(T element,
SignatureOptions options)
|
|
|
sign(T element,
SignatureOptions options)
Adds a digital signature to the specified element |
|
|
verify(T element,
SignatureOptions options)
Verifies that the digitally signed element is valid |
|
| Method Detail |
|---|
<T extends Element> boolean isSigned(T element)
throws SecurityException
SecurityException
<T extends Element> T sign(T element,
SignatureOptions options)
throws SecurityException
SecurityException
<T extends Element> boolean verify(T element,
SignatureOptions options)
throws SecurityException
SecurityException
<T extends Element> X509Certificate[] getValidSignatureCertificates(T element,
SignatureOptions options)
throws SecurityException
SecurityException
<T extends Element> org.apache.xml.security.keys.KeyInfo getSignatureKeyInfo(T element,
SignatureOptions options)
throws SecurityException
SecurityException
SignatureOptions getDefaultSignatureOptions()
throws SecurityException
SecurityExceptionSignatureOptions
<T extends Element> T removeInvalidSignatures(T element,
SignatureOptions options)
throws SecurityException
SecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||