[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.32 Security

Procedures for security.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.32.1 Message digest

Function: string->message-digest string algorithm

creates a message digest object from the string.
Generation algorithm(md5, sha …) is specified by algorithm.

Function: string->hexified-message-digest string algorithm

creates a hexified message digest from the string.

Function: file->message-digest filename algorithm

creates a message digest object from the file.

Function: file->hexified-message-digest filename algorithm

creates a hexified message digest from the file.

Function: hexift-message-digest digest

hexifies the message digest.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.32.2 Signature of objects

Function: generate-key-pair algorithm

generates a pair of public and private keys with specified algorithm.
This procedure return public and private keys.

Function: sign-file path private-key

signs the given file with the private key and returns the signature.

Function: file-signed? path public-key sign

returns #t if the file is signed.

Function: sign-file obj private-key

signs the given object with the private key and returns the signature.

Function: verify-signed-datum obj public-key

verifies the object and returns #t if verification succeeds.

Function: unwrap-signed-datum obj

unwraps the signed object.

Function: hexify-signeture sign

hexifies the signature.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on August 9, 2012 using texi2html 5.0.