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

com.unbound.provider.UBEDDSAPublicKey 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.unbound.provider;

import com.unbound.client.Partition;

import java.security.PublicKey;

public class UBEDDSAPublicKey implements PublicKey
{
  final byte[] value;
  final Partition partition;

  UBEDDSAPublicKey(Partition partition, byte[] value)
  {
    this.partition = partition;
    this.value = value;
  }

  @Override
  public String getAlgorithm()
  {
    return "EDDSA";
  }

  @Override
  public String getFormat()
  {
    return "N/A";
  }

  @Override
  public byte[] getEncoded()
  {
    return value;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy