
org.spongycastle.pqc.jcajce.spec.GMSSPublicKeySpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prov Show documentation
Show all versions of prov Show documentation
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle
intended for the Android platform. Android unfortunately ships with a stripped-down version of
Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full,
up-to-date version of the Bouncy Castle cryptographic libs.
package org.spongycastle.pqc.jcajce.spec;
import org.spongycastle.pqc.crypto.gmss.GMSSParameters;
/**
* This class provides a specification for a GMSS public key.
*
* @see org.spongycastle.pqc.jcajce.provider.gmss.BCGMSSPublicKey
*/
public class GMSSPublicKeySpec
extends GMSSKeySpec
{
/**
* The GMSS public key
*/
private byte[] gmssPublicKey;
/**
* The constructor.
*
* @param key a raw GMSS public key
* @param gmssParameterSet an instance of GMSSParameterSet
*/
public GMSSPublicKeySpec(byte[] key, GMSSParameters gmssParameterSet)
{
super(gmssParameterSet);
this.gmssPublicKey = key;
}
/**
* Returns the GMSS public key
*
* @return The GMSS public key
*/
public byte[] getPublicKey()
{
return gmssPublicKey;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy