Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.security.key
Interface IKeyPairGenerator  view IKeyPairGenerator download IKeyPairGenerator.java


public interface IKeyPairGenerator

The visible methods of every asymmetric keypair generator.


Method Summary
 java.security.KeyPair generate()
          Generates a new keypair based on the attributes used to configure the instance.
 java.lang.String name()
          Returns the canonical name of this keypair generator.
 void setup(java.util.Map attributes)
          [Re]-initialises this instance for use with a given set of attributes.
 

Method Detail

name

public java.lang.String name()
Returns the canonical name of this keypair generator.


setup

public void setup(java.util.Map attributes)
[Re]-initialises this instance for use with a given set of attributes.


generate

public java.security.KeyPair generate()
Generates a new keypair based on the attributes used to configure the instance.