|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CertificateService
The Interface CertificateService.
| Field Summary | |
|---|---|
static java.math.BigInteger |
CA_CERT_SERIAL
The Constant CA_CERT_SERIAL. |
| Method Summary | |
|---|---|
java.io.InputStream |
generateCACRL()
Generate cacrl. |
void |
generateCAKeyStoreAndCertificate()
Generate ca key store and certificate. |
Certificate |
generateUserCertificate(it.neverworks.security.User user,
java.security.PublicKey userPublicKey,
org.bouncycastle.asn1.x509.KeyUsage keyUsage)
Generate user certificate. |
java.security.KeyStore |
getIsharedocCAKeyStore()
Gets the isharedoc ca key store. |
java.security.PrivateKey |
getIsharedocCAPrivateKey(java.security.KeyStore rootKeyStore)
Gets the isharedoc ca private key. |
Certificate |
getIsharedocCAX509Certificate()
Gets the isharedoc ca x509 certificate. |
java.security.cert.X509Certificate |
getIsharedocCAX509Certificate(java.security.KeyStore rootKeyStore)
Gets the isharedoc ca x509 certificate. |
org.bouncycastle.asn1.x509.X509Name |
getIsharedocCAX509Name()
Gets the isharedoc ca x509 name. |
org.bouncycastle.asn1.x509.X509Name |
getUserX509Name(it.neverworks.security.User user)
Gets the user x509 name. |
void |
revokeUserCertificate(Certificate userCert,
int reason)
Revoke user certificate. |
| Field Detail |
|---|
static final java.math.BigInteger CA_CERT_SERIAL
| Method Detail |
|---|
org.bouncycastle.asn1.x509.X509Name getIsharedocCAX509Name()
java.security.KeyStore getIsharedocCAKeyStore()
java.security.cert.X509Certificate getIsharedocCAX509Certificate(java.security.KeyStore rootKeyStore)
rootKeyStore - the root key store
java.security.PrivateKey getIsharedocCAPrivateKey(java.security.KeyStore rootKeyStore)
rootKeyStore - the root key store
Certificate getIsharedocCAX509Certificate()
void generateCAKeyStoreAndCertificate()
java.io.InputStream generateCACRL()
org.bouncycastle.asn1.x509.X509Name getUserX509Name(it.neverworks.security.User user)
user - the user
Certificate generateUserCertificate(it.neverworks.security.User user,
java.security.PublicKey userPublicKey,
org.bouncycastle.asn1.x509.KeyUsage keyUsage)
user - the useruserPublicKey - the user public keykeyUsage - the key usage
void revokeUserCertificate(Certificate userCert,
int reason)
userCert - the user certreason - the reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||