1 7 8 15 16 package javax.crypto; 17 18 import java.security.AlgorithmParameters; 19 import java.security.Provider; 20 import java.security.Key; 21 import java.security.NoSuchAlgorithmException; 22 import java.security.NoSuchProviderException; 23 import java.security.InvalidKeyException; 24 import java.security.InvalidAlgorithmParameterException; 25 import java.security.spec.AlgorithmParameterSpec; 26 import sun.security.jca.GetInstance.Instance; 27 28 39 public class ExemptionMechanism 40 { 41 42 49 protected ExemptionMechanism(ExemptionMechanismSpi exmechSpi, Provider 50 provider, String mechanism) 51 { } 52 53 64 public final String getName() { } 65 66 91 public static final ExemptionMechanism getInstance(String algorithm) 92 throws NoSuchAlgorithmException 93 { } 94 95 117 public static final ExemptionMechanism getInstance(String algorithm, String 118 provider) throws NoSuchAlgorithmException, NoSuchProviderException 119 { } 120 121 142 public static final ExemptionMechanism getInstance(String algorithm, 143 Provider provider) throws NoSuchAlgorithmException 144 { } 145 146 151 public final Provider getProvider() { } 152 153 171 public final boolean isCryptoAllowed(Key key) 172 throws ExemptionMechanismException 173 { } 174 175 192 public final int getOutputSize(int inputLen) throws IllegalStateException 193 { } 194 195 212 public final void init(Key key) 213 throws InvalidKeyException, ExemptionMechanismException 214 { } 215 216 237 public final void init(Key key, AlgorithmParameterSpec params) 238 throws InvalidKeyException, InvalidAlgorithmParameterException, 239 ExemptionMechanismException 240 { } 241 242 263 public final void init(Key key, AlgorithmParameters params) 264 throws InvalidKeyException, InvalidAlgorithmParameterException, 265 ExemptionMechanismException 266 { } 267 268 278 public final byte[] genExemptionBlob() 279 throws IllegalStateException, ExemptionMechanismException 280 { } 281 282 303 public final int genExemptionBlob(byte[] output) 304 throws IllegalStateException, ShortBufferException, 305 ExemptionMechanismException 306 { } 307 308 332 public final int genExemptionBlob(byte[] output, int outputOffset) 333 throws IllegalStateException, ShortBufferException, 334 ExemptionMechanismException 335 { } 336 337 341 protected void finalize() { } 342 } 343 | Popular Tags |