1 7 8 15 16 package javax.crypto; 17 18 import java.io.*; 19 20 import java.security.AlgorithmParameters; 21 import java.security.Key; 22 import java.security.InvalidKeyException; 23 import java.security.InvalidAlgorithmParameterException; 24 import java.security.NoSuchAlgorithmException; 25 import java.security.NoSuchProviderException; 26 27 85 public class SealedObject implements Serializable 86 { 87 92 protected byte[] encodedParams; 93 94 99 private byte[] encryptedContent; 100 101 106 private String sealAlg; 107 108 113 private String paramsAlg; 114 115 134 public SealedObject(Serializable object, Cipher c) 135 throws IOException, IllegalBlockSizeException 136 { } 137 138 144 protected SealedObject(SealedObject so) { } 145 146 151 public final String getAlgorithm() { } 152 153 181 public final Object getObject(Key key) 182 throws IOException, ClassNotFoundException, NoSuchAlgorithmException, 183 InvalidKeyException 184 { } 185 186 208 public final Object getObject(Cipher c) 209 throws IOException, ClassNotFoundException, IllegalBlockSizeException, 210 BadPaddingException 211 { } 212 213 244 public final Object getObject(Key key, String provider) 245 throws IOException, ClassNotFoundException, NoSuchAlgorithmException, 246 NoSuchProviderException, InvalidKeyException 247 { } 248 249 254 private void readObject(ObjectInputStream s) 255 throws IOException, ClassNotFoundException 256 { } 257 } 258 | Popular Tags |