de.flexiprovider.pqc.ots.merkle
Class MerkleOTSPublicKeySpec

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

public class MerkleOTSPublicKeySpec
extends java.lang.Object
implements KeySpec

Author:
Elena Klintsevich

Constructor Summary
MerkleOTSPublicKeySpec(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

MerkleOTSPublicKeySpec

public MerkleOTSPublicKeySpec(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