LoadKeys: Utility to load previously generated cryptographic key files

Description Usage Arguments Value Examples

Description

Utility to load previously generated cryptographic key files

Usage

1
LoadKeys(RSAPrvKeyFilename, RSAPubKeyFilename)

Arguments

RSAPrvKeyFilename

- a file name

RSAPubKeyFilename

- a file name

Value

a list with two encrypted key objects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
Fill these in with the timestamped file names
RSAPrvKeyFilename<-my.keys$RSAPrvKeyFilename
RSAPubKeyFilename<-my.keys$RSAPubKeyFilename


key.ring<-LoadKeys(RSAPrvKeyFilename,RSAPubKeyFilename)
private.key<-key.ring$priv.k
public.key<-key.ring$pub.k

## End(Not run)

StatsResearch/RobsRUtils documentation built on May 9, 2019, 3:04 p.m.