org.kuali.rice.ksb.security
Class AbstractDigitalSigner
java.lang.Object
org.kuali.rice.ksb.security.AbstractDigitalSigner
- All Implemented Interfaces:
- DigitalSigner
- Direct Known Subclasses:
- HttpClientHeaderDigitalSigner, ResponseHeaderDigitalSigner
public abstract class AbstractDigitalSigner
- extends Object
- implements DigitalSigner
An abstract implementation of a DigitalSigner which provides convienance utilities for storing a reference
to the Signature and also generating and encoding the actual digital signature.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDigitalSigner
public AbstractDigitalSigner(Signature signature)
getSignature
public Signature getSignature()
- Description copied from interface:
DigitalSigner
- Retrieve a reference to Signature which will be used for signing.
- Specified by:
getSignature
in interface DigitalSigner
getSignatureBytes
protected byte[] getSignatureBytes()
throws Exception
- Throws:
Exception
getEncodedSignature
protected String getEncodedSignature()
throws Exception
- Throws:
Exception
getEncodedCertificate
protected String getEncodedCertificate(Certificate certificate)
throws Exception
- Throws:
Exception
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.