java类库详细讲解

源代码在线查看: listcertfact.html

软件大小: 5593 K
上传用户: add505
关键词: java
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				Listing All Available Certificate Formats
				(Java Developers Almanac Example)
				
				
				
				
				
				
								    BODY CODE  {font-family: Courier, Monospace;				           font-size: 11pt}				    TABLE, BODY				          {font-family: Verdana, Arial, Helvetica, sans-serif;				           font-size: 10pt}				    PRE   {font-family: Courier, Monospace;				           font-size: 10pt}				    H3    {font-family: Verdana, Arial, Helvetica, sans-serif;				           font-size: 11pt}				    A.eglink {text-decoration: none}				    A:hover.eglink {text-decoration: underline}				    -->
				
				
				
				
				
				The Java Developers Almanac 1.4
				
				        Order this book from Amazon.
				    
				
				
				
				
				
				
				
				
				
				
				
				Home
				    >
				    List of Packages
				    >
				    java.security.cert
				         [9 examples]
				        
				        >
				        Certificates
				             [5 examples]
				            
				
				  
				    e226.  
				    Listing All Available Certificate Formats
				
				Retrieving the list of available certificate formats requires checking
				the services provided by all registered providers.  The retrieved list
				of names can be used in creating a Certificate or CertPath
				object with CertificateFactory.
				
				
				
				    // This method is implemented in e194 Listing All Available Cryptographic Services
				    String[] names = getCryptoImpls("CertificateFactory");
				
				An example of the output:
				
				
				    X.509
				    X509
				
				
				
				
				             Related Examples
				        
				
				
				
				
				e223. 
				    Creating a New Key Pair and Self-signed Certificate Using keytool
				
				
				
				e224. 
				    Exporting a Certificate to a File
				
				
				
				e225. 
				    Importing a Certificate from a File
				
				
				
				e227. 
				    Getting the Subject and Issuer Distinguished Names of an X509 Certificate
				
				
				
				
				
				
				
				
				        See also: 
				
				    Certification Paths
				  
				
				
				
				
				
				
				
				
				
				© 2002 Addison-Wesley.
				
				
				
							

相关资源