com.dyadicsec.provider.EDDSAPublicKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unbound-java-provider Show documentation
Show all versions of unbound-java-provider Show documentation
This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi
package com.dyadicsec.provider;
import com.dyadicsec.pkcs11.CKEDDSAPublicKey;
import java.security.PublicKey;
public class EDDSAPublicKey implements PublicKey
{
private static final long serialVersionUID = 1L;
EDDSAPrivateKey prvKey = null;
CKEDDSAPublicKey pkcs11Key = null;
EDDSAPublicKey() {}
EDDSAPublicKey(CKEDDSAPublicKey pkcs11Key)
{
this.pkcs11Key = pkcs11Key;
}
@Override
public String getAlgorithm()
{
return "EDDSA";
}
@Override
public String getFormat()
{
return "N/A";
}
@Override
public byte[] getEncoded()
{
return null;
}
}