}
  public void initialize(int keysize, SecureRandom random)  {    HashMap attributes = new HashMap();    attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize));    if (random != null)      {        attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random);      }    attributes.put(RSAKeyPairGenerator.PREFERRED_ENCODING_FORMAT,                   new Integer(Registry.ASN1_ENCODING_ID));    adaptee.setup(attributes);  }