public class RsaCertificate
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static SystemConfig |
systemConfig |
| 构造器和说明 |
|---|
RsaCertificate() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
certRevocation(java.security.cert.X509Certificate endCert,
int reason) |
protected void |
createRoot() |
protected void |
creatOrganizationCert(KeyStoreParam keyStoreParam) |
protected void |
creatOrganizationCert(KeyStoreParam keyStoreParam,
java.security.KeyStore rootkeyStore) |
void |
creatOuCert(KeyStoreParam keyStoreParam) |
void |
creatOuCert(KeyStoreParam keyStoreParam,
java.security.KeyStore rootkeyStore) |
void |
creatRootCA() |
protected java.security.KeyPair |
generateKeyPair() |
protected java.lang.String |
getAlgorithm() |
static void |
main(java.lang.String[] args) |
protected static SystemConfig systemConfig
public void creatRootCA()
public void creatOuCert(KeyStoreParam keyStoreParam)
public void creatOuCert(KeyStoreParam keyStoreParam, java.security.KeyStore rootkeyStore)
protected void createRoot()
protected void creatOrganizationCert(KeyStoreParam keyStoreParam)
protected void creatOrganizationCert(KeyStoreParam keyStoreParam, java.security.KeyStore rootkeyStore)
protected java.lang.String getAlgorithm()
protected java.security.KeyPair generateKeyPair()
throws java.lang.Exception
java.lang.Exceptionpublic void certRevocation(java.security.cert.X509Certificate endCert,
int reason)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.security.InvalidAlgorithmParameterException,
java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
java.security.InvalidAlgorithmParameterExceptionjava.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionCopyright © 2019. All Rights Reserved.