1 7 8 15 16 package javax.crypto; 17 18 import java.util.*; 19 import java.security.*; 20 import java.security.spec.*; 21 import sun.security.jca.*; 22 23 import java.security.Provider.Service; 24 import sun.security.util.Debug; 25 import sun.security.jca.GetInstance.Instance; 26 27 53 public class KeyAgreement 54 { 55 56 63 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, 64 String algorithm) 65 { } 66 67 76 public final String getAlgorithm() { } 77 78 102 public static final KeyAgreement getInstance(String algorithm) 103 throws NoSuchAlgorithmException 104 { } 105 106 129 public static final KeyAgreement getInstance(String algorithm, String 130 provider) throws NoSuchAlgorithmException, NoSuchProviderException 131 { } 132 133 155 public static final KeyAgreement getInstance(String algorithm, Provider 156 provider) throws NoSuchAlgorithmException 157 { } 158 159 164 public final Provider getProvider() { } 165 166 186 public final void init(Key key) throws InvalidKeyException { } 187 188 208 public final void init(Key key, SecureRandom random) 209 throws InvalidKeyException 210 { } 211 212 235 public final void init(Key key, AlgorithmParameterSpec params) 236 throws InvalidKeyException, InvalidAlgorithmParameterException 237 { } 238 239 255 public final void init(Key key, AlgorithmParameterSpec params, SecureRandom 256 random) throws InvalidKeyException, InvalidAlgorithmParameterException 257 { } 258 259 278 public final Key doPhase(Key key, boolean lastPhase) 279 throws InvalidKeyException, IllegalStateException 280 { } 281 282 296 public final byte[] generateSecret() throws IllegalStateException { } 297 298 323 public final int generateSecret(byte[] sharedSecret, int offset) 324 throws IllegalStateException, ShortBufferException 325 { } 326 327 349 public final SecretKey generateSecret(String algorithm) 350 throws IllegalStateException, NoSuchAlgorithmException, 351 InvalidKeyException 352 { } 353 } 354 | Popular Tags |