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

org.cryptacular.adapter.WrappedDSAPublicKey Maven / Gradle / Ivy

There is a newer version: 1.2.7
Show newest version
/* See LICENSE for licensing and NOTICE for copyright. */
package org.cryptacular.adapter;

import java.math.BigInteger;
import java.security.interfaces.DSAPublicKey;
import org.bouncycastle.crypto.params.DSAPublicKeyParameters;

/**
 * JCE/JDK DSA public key that wraps the corresponding BC DSA public key type, {@link DSAPublicKeyParameters}.
 *
 * @author  Middleware Services
 */
public class WrappedDSAPublicKey extends AbstractWrappedDSAKey implements DSAPublicKey
{

  /**
   * Creates a new instance that wraps the given key.
   *
   * @param  wrappedKey  DSA key to wrap.
   */
  public WrappedDSAPublicKey(final DSAPublicKeyParameters wrappedKey)
  {
    super(wrappedKey);
  }


  @Override
  public BigInteger getY()
  {
    return delegate.getY();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy