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.unbound.provider.UBEDDSAPublicKey;
import java.security.PublicKey;
public class EDDSAPublicKey implements PublicKey
{
private final UBEDDSAPublicKey key;
EDDSAPublicKey(UBEDDSAPublicKey key)
{
this.key = key;
}
public UBEDDSAPublicKey getKey()
{
return key;
}
@Override
public String getAlgorithm()
{
return key.getAlgorithm();
}
@Override
public String getFormat()
{
return key.getFormat();
}
@Override
public byte[] getEncoded()
{
return key.getEncoded();
}
}