cryptix.provider.key
Class RawSecretKey
- Key, SecretKey
public class RawSecretKey
RawSecretKey implements a secret key in raw format. RawKeyGenerator
creates keys that are instances of this class.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
- David Hopwood
- Raif S. Naffah
- Cryptix 2.2.2
RawSecretKey(String algorithm, byte[] data) - Constructs a secret key with the specified algorithm and raw-encoded
data array.
|
RawSecretKey(String algorithm, byte[] data, int offset, int length) - Constructs a secret key with the specified algorithm and raw-encoded
data subarray.
|
RawSecretKey
public RawSecretKey(String algorithm,
byte[] data)
Constructs a secret key with the specified algorithm and raw-encoded
data array.
algorithm
- the name of the algorithmdata
- the key's raw-encoded data
RawSecretKey
public RawSecretKey(String algorithm,
byte[] data,
int offset,
int length)
Constructs a secret key with the specified algorithm and raw-encoded
data subarray.
algorithm
- the name of the algorithmdata
- the key's raw-encoded dataoffset
- the offset of the encoding in datalength
- the length of the encoding