de.flexiprovider.pqc.ots.merkle
Class MerkleOTSPrivateKeySpec

java.lang.Object
  |
  +--de.flexiprovider.pqc.ots.merkle.MerkleOTSPrivateKeySpec
All Implemented Interfaces:
KeySpec, java.security.spec.KeySpec

public class MerkleOTSPrivateKeySpec
extends java.lang.Object
implements KeySpec

This class provides a specification for a MerkleOTS key.

Author:
Klintsevich Elena
See Also:
MerkleOTSPrivateKey, MerkleOTSPublicKey, KeySpec

Constructor Summary
MerkleOTSPrivateKeySpec(java.lang.String oid, byte[][] keyBytes)
          Construct a new key specification from the given OID and key bytes.
 
Method Summary
 byte[][] getKeyBytes()
           
 java.lang.String getOIDString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MerkleOTSPrivateKeySpec

public MerkleOTSPrivateKeySpec(java.lang.String oid,
                               byte[][] keyBytes)
Construct a new key specification from the given OID and key bytes.
Parameters:
oid - the OID of the algorithm
keyBytes - the key bytes
Method Detail

getOIDString

public java.lang.String getOIDString()
Returns:
the OID of the algorithm

getKeyBytes

public byte[][] getKeyBytes()
Returns:
the key bytes