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

com.unbound.provider.UBKeyStoreEntry 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 java.security.PrivateKey;
import java.security.PublicKey;

public class UBKeyStoreEntry implements java.security.KeyStore.Entry
{
  private PrivateKey prv = null;
  private PublicKey pub = null;
  private KeyParameters kp = null;

  public UBKeyStoreEntry(PrivateKey key) { prv = key; }
  public UBKeyStoreEntry(PublicKey key)
  {
    pub = key;
  }
  public UBKeyStoreEntry(PrivateKey key, KeyParameters kp) { prv = key; this.kp = kp; }
  public UBKeyStoreEntry(PublicKey key, KeyParameters kp)
  {
    pub = key;this.kp = kp;
  }
  public PrivateKey getPrivateKey() { return prv; }
  public PublicKey getPublicKey() { return pub; }
  public KeyParameters getKeyParameters() { return kp; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy