1 7 8 package java.security.cert; 9 10 import java.io.InputStream ; 11 import java.util.Collection ; 12 import java.util.Iterator ; 13 import java.util.List ; 14 import java.security.Provider ; 15 import java.security.NoSuchAlgorithmException ; 16 import java.security.NoSuchProviderException ; 17 18 48 49 public abstract class CertificateFactorySpi { 50 51 87 public abstract Certificate engineGenerateCertificate(InputStream inStream) 88 throws CertificateException ; 89 90 107 public CertPath engineGenerateCertPath(InputStream inStream) 108 throws CertificateException 109 { 110 throw new UnsupportedOperationException (); 111 } 112 113 132 public CertPath engineGenerateCertPath(InputStream inStream, 133 String encoding) throws CertificateException 134 { 135 throw new UnsupportedOperationException (); 136 } 137 138 158 public CertPath 159 engineGenerateCertPath(List <? extends Certificate > certificates) 160 throws CertificateException 161 { 162 throw new UnsupportedOperationException (); 163 } 164 165 187 public Iterator <String > engineGetCertPathEncodings() { 188 throw new UnsupportedOperationException (); 189 } 190 191 227 public abstract Collection <? extends Certificate > 228 engineGenerateCertificates(InputStream inStream) 229 throws CertificateException ; 230 231 260 public abstract CRL engineGenerateCRL(InputStream inStream) 261 throws CRLException ; 262 263 296 public abstract Collection <? extends CRL > engineGenerateCRLs 297 (InputStream inStream) throws CRLException ; 298 } 299 | Popular Tags |