de.flexiprovider.pqc.hbc.cmss
Class CMSSPublicKeySpec

java.lang.Object
  |
  +--de.flexiprovider.pqc.hbc.cmss.CMSSPublicKeySpec
All Implemented Interfaces:
KeySpec, java.security.spec.KeySpec

public class CMSSPublicKeySpec
extends java.lang.Object
implements KeySpec

This class provides a specification for a CMSS public key.

Author:
Elena Klintsevich
See Also:
CMSSPublicKey, KeySpec

Field Summary
(package private)  byte[][][] masks
           
 
Constructor Summary
CMSSPublicKeySpec(java.lang.String oid, byte[] keyBytes, byte[][][] masks)
          Construct a new CMSS2 public key.
 
Method Summary
 byte[][][] getMasks()
           
 java.lang.String getOIDString()
           
 byte[] getPubKeyBytes()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

masks

byte[][][] masks
Constructor Detail

CMSSPublicKeySpec

public CMSSPublicKeySpec(java.lang.String oid,
                         byte[] keyBytes,
                         byte[][][] masks)
Construct a new CMSS2 public key.
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

getPubKeyBytes

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

getMasks

public byte[][][] getMasks()