org.logi.crypto.keys
Interface BlindSigningKey

All Superinterfaces:
Key, java.security.Key, PrettyPrintable, java.io.Serializable, SigningKey
All Known Implementing Classes:
RSAPrivateKey

public interface BlindSigningKey
extends SigningKey

This interface is implemented by keys that can be used to create and validate blind signatures on fingerprints of data.

Obviously blind signatures should be used with care since you do not know what is being signed. The key used for blind signatures should be created specifically for one purpose and never be used for anything else.

Author:
Logi Ragnarsson (logir@logi.org)

Fields inherited from interface java.security.Key
serialVersionUID
 
Method Summary
 BlindSignature sign(BlindFingerprint fp)
          Create a signature for a blinded fingerprint with a private key.
 
Methods inherited from interface org.logi.crypto.keys.SigningKey
sign, signatureSize, signBlockSize
 
Methods inherited from interface org.logi.crypto.keys.Key
getAlgorithm, getFingerprint, getFingerprint, getSize, hashCode, matches, matchFingerprint, matchFingerprint
 
Methods inherited from interface org.logi.crypto.io.PrettyPrintable
prettyPrint, prettyPrint
 
Methods inherited from interface java.security.Key
getEncoded, getFormat
 

Method Detail

sign

public BlindSignature sign(BlindFingerprint fp)
                    throws CryptoException
Create a signature for a blinded fingerprint with a private key.
Throws:
KeyException - if there are problems, depending on the implementing class.


Copyright (c) 1997-2001 Logi Ragnarsson - Distributed under the GPL