All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dyadicsec.provider.EDDSAPublicKey Maven / Gradle / Ivy

Go to download

This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi

There is a newer version: 42761
Show newest version
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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy