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

name.neuhalfen.projects.crypto.bouncycastle.openpgp.keys.generation.KeySpecBuilder Maven / Gradle / Ivy

The newest version!
package name.neuhalfen.projects.crypto.bouncycastle.openpgp.keys.generation;

import static java.util.Objects.requireNonNull;

import name.neuhalfen.projects.crypto.bouncycastle.openpgp.keys.generation.type.KeyType;

@SuppressWarnings("PMD.ClassNamingConventions")
public final class KeySpecBuilder {

  private KeySpecBuilder() {/* utility only */}

  public static KeySpecBuilderInterface newSpec(KeyType type) {
    requireNonNull(type, "type must not be null");
    return new KeySpecBuilderImpl(type);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy