org.jboss.resteasy.security.doseta
Class DigitalSigningInterceptor
java.lang.Object
org.jboss.resteasy.security.doseta.DigitalSigningInterceptor
- All Implemented Interfaces:
- MessageBodyWriterInterceptor
@Provider
public class DigitalSigningInterceptor
- extends Object
- implements MessageBodyWriterInterceptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigitalSigningInterceptor
public DigitalSigningInterceptor()
write
public void write(MessageBodyWriterContext context)
throws IOException,
WebApplicationException
- Specified by:
write in interface MessageBodyWriterInterceptor
- Throws:
IOException
WebApplicationException
sign
protected void sign(MessageBodyWriterContext context,
MultivaluedMap<String,Object> headers,
byte[] body,
DKIMSignature dosetaSignature)
throws NoSuchAlgorithmException,
InvalidKeyException,
SignatureException,
UnsupportedEncodingException
- Throws:
NoSuchAlgorithmException
InvalidKeyException
SignatureException
UnsupportedEncodingException
Copyright © 2011. All Rights Reserved.