1 7 8 package java.security; 9 10 import java.io.*; 11 import java.security.spec.AlgorithmParameterSpec ; 12 import java.security.spec.InvalidParameterSpecException ; 13 14 33 34 public abstract class AlgorithmParametersSpi { 35 36 46 protected abstract void engineInit(AlgorithmParameterSpec paramSpec) 47 throws InvalidParameterSpecException ; 48 49 59 protected abstract void engineInit(byte[] params) 60 throws IOException; 61 62 76 protected abstract void engineInit(byte[] params, String format) 77 throws IOException; 78 79 96 protected abstract 97 <T extends AlgorithmParameterSpec > 98 T engineGetParameterSpec(Class <T> paramSpec) 99 throws InvalidParameterSpecException ; 100 101 110 protected abstract byte[] engineGetEncoded() throws IOException; 111 112 125 protected abstract byte[] engineGetEncoded(String format) 126 throws IOException; 127 128 133 protected abstract String engineToString(); 134 } 135 | Popular Tags |