An unaggregating aggregated signer. More...
Public Member Functions | |
void | signBlocks (ContentObject[] contentObjects, PrivateKey signingKey) throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, IOException |
Sign a set of unrelated content objects in one aggregated signature pass. |
An unaggregating aggregated signer.
Signs each block individually using org.ccnx.ccn.protocol.ContentObject.sign(PrivateKey).
void org.ccnx.ccn.impl.security.crypto.CCNBlockSigner.signBlocks | ( | ContentObject[] | contentObjects, | |
PrivateKey | signingKey | |||
) | throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, IOException |
Sign a set of unrelated content objects in one aggregated signature pass.
Objects must have already been constructed and initialized. They must all indicate the same signer. Open questions:
contentObjects | the set of objects to sign | |
signingKey | the key to sign with |
InvalidKeyException | if there is a problem with the signing key | |
SignatureException | if we have an error in signature generation | |
NoSuchAlgorithmException | if we do not recognize the default digest algorithm, or the signature algorithm associated with the key, or an internal algorithm used by the aggregating signer | |
IOException |
Implements org.ccnx.ccn.impl.security.crypto.CCNAggregatedSigner.