1 /*
2 * Copyright �, Aegeus Technology Limited.
3 * All rights reserved.
4 */
5 package jsdsi.util;
6
7 import java.math.BigInteger;
8 import java.net.URI;
9
10 /***
11 * @author Sean Radford
12 * @version $Revision: 1.2 $ $Date: 2004/11/11 19:31:46 $
13 */
14 public class RSAKeyGenParameterSpec extends java.security.spec.RSAKeyGenParameterSpec {
15
16 private String provider;
17
18 private URI[] uris;
19
20 /***
21 * @param keysize
22 * @param publicExponent
23 */
24 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) {
25 super(keysize, publicExponent);
26 }
27
28 /***
29 * @param keysize
30 * @param publicExponent
31 * @param provider name of <code>java.security.Provider</code> to use to create the keys.
32 */
33 public RSAKeyGenParameterSpec(int keysize,
34 BigInteger publicExponent, String provider) {
35 super(keysize, publicExponent);
36 this.provider = provider;
37 }
38
39 /***
40 * @param keysize
41 * @param publicExponent
42 * @param uris array of uris to incorporate in PublicKeys generated
43 */
44 public RSAKeyGenParameterSpec(int keysize,
45 BigInteger publicExponent, URI[] uris) {
46 super(keysize, publicExponent);
47 this.uris = uris;
48 }
49
50 /***
51 * @param keysize
52 * @param publicExponent
53 * @param provider name of <code>java.security.Provider</code> to use to create the keys.
54 * @param uris array of uris to incorporate in PublicKeys generated
55 */
56 public RSAKeyGenParameterSpec(int keysize,
57 BigInteger publicExponent,
58 String provider, URI[] uris) {
59 super(keysize, publicExponent);
60 this.uris = uris;
61 }
62
63 /***
64 * @return Returns the provider.
65 */
66 public String getProvider() {
67 return provider;
68 }
69
70 /***
71 * @return Returns the uris.
72 */
73 public URI[] getUris() {
74 return uris;
75 }
76
77 }
This page was automatically generated by Maven