|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface implemented by objects that represent server certificates. Certificate objects represent digital certificates stored on a SilverStream Server.
AgiAdmServer| Field Summary | |
static String |
CERT_CA
The certificate type of Server CA certificate. |
static String |
CERT_SRV_DSA
The certificate type of Server DSA certificate. |
static String |
CERT_SRV_RSA
The certificate type of Server RSA certificate. |
| Method Summary | |
String |
getExpirationDate()
Get the expiration date of the certificate. |
String |
getFingerprint()
Get the fingerprint of the certificate. |
String |
getHolderCommonName()
Get the common name of the certificate's holder. |
String |
getHolderCountry()
Get the country of the certificate's holder. |
String |
getHolderEmailAddress()
Get the email address of the certificate's holder. |
String |
getHolderLocality()
Get the locality of the certificate's holder. |
String |
getHolderOrg()
Get the organization name of the certificate's holder. |
String |
getHolderOrgUnit()
Get the organizational unit name of the certificate's holder. |
String |
getHolderState()
Get the state name of the certificate's holder. |
int |
getID()
Get the ID of the certificate. |
String |
getIssuerCommonName()
Get the common name of the issuer of the certificate. |
String |
getIssuerCountry()
Get the country of the issuer of the certificate. |
String |
getIssuerEmailAddress()
Get the email address of the issuer of the certificate. |
String |
getIssuerLocality()
Get the locality of the issuer of the certificate. |
String |
getIssuerOrg()
Get the organization name of the issuer of the certificate. |
String |
getIssuerOrgUnit()
Get the organizational unit of the issuer of the certificate. |
String |
getIssuerState()
Get the state name of the issuer of the certificate. |
String |
getStartDate()
Get the start date of the certificate. |
String |
getType()
Return the type of certificate. |
| Field Detail |
public static final String CERT_SRV_RSA
public static final String CERT_SRV_DSA
public static final String CERT_CA
| Method Detail |
public String getType()
// Enumerate the server certificates
Enumeration certs = server.getCertificates(
AgiAdmServer.GET_CERTS_SRV_DSA | AgiAdmServer.GET_CERTS_SRV_RSA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String type = admcert.getType();
if (AgiAdmCertificate.CERT_SRV_RSA.equals(type)) {
// do something with the server RSA certificate
}
else {
// do something with the server DSA certificate
}
}
AgiAdmCertificate.CERT_SRV_RSA,
AgiAdmCertificate.CERT_SRV_DSA,
AgiAdmCertificate.CERT_CApublic String getHolderCountry()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderCountry = admcert.getHolderCountry();
// do something with the holder country information
}
AgiAdmServerpublic String getHolderState()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderState = admcert.getHolderState();
// do something with the holder state information
}
AgiAdmServerpublic String getHolderLocality()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderLocality = admcert.getHolderLocality();
// do something with the holder locality information
}
AgiAdmServerpublic String getHolderOrg()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderOrg = admcert.getHolderOrg();
// do something with the holder organization information
}
AgiAdmServerpublic String getHolderOrgUnit()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderOrgUnit = admcert.getHolderOrgUnit();
// do something with the holder organization unit information
}
AgiAdmServerpublic String getHolderCommonName()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderCommonName = admcert.getHolderCommonName();
// do something with the holder common name information
}
AgiAdmServerpublic String getHolderEmailAddress()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String holderEmail = admcert.getHolderEmailAddress();
// do something with the holder email address information
}
AgiAdmServerpublic String getIssuerCountry()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerCountry = admcert.getIssuerCountry();
// do something with the issuer country information
}
AgiAdmServerpublic String getIssuerState()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerState = admcert.getIssuerState();
// do something with the issuer state information
}
AgiAdmServerpublic String getIssuerLocality()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerLocality = admcert.getIssuerLocality();
// do something with the issuer locality information
}
AgiAdmServerpublic String getIssuerOrg()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerOrg = admcert.getIssuerOrg();
// do something with the issuer organization information
}
AgiAdmServerpublic String getIssuerOrgUnit()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerOrgUnit = admcert.getIssuerOrgUnit();
// do something with the issuer organizational unit information
}
AgiAdmServerpublic String getIssuerCommonName()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerCommonName = admcert.getIssuerCommonName();
// do something with the issuer common name information
}
AgiAdmServerpublic String getIssuerEmailAddress()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String issuerEmail = admcert.getIssuerEmailAddress();
// do something with the issuer email address information
}
AgiAdmServerpublic String getStartDate()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String startDate = admcert.getStartDate();
// do something with the start date information
}
AgiAdmServerpublic String getExpirationDate()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String expDate = admcert.getExpirationDate();
// do something with the expiration date information
}
AgiAdmServerpublic String getFingerprint()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
String fingerprint = admcert.getFingerprint();
// do something with the fingerprint information
}
AgiAdmServerpublic int getID()
Enumeration certs = server.getCertificates(AgiAdmServer.GET_CERTS_CA);
while(certs.hasMoreElements()) {
AgiAdmCertificate admcert = (AgiAdmCertificate)certs.nextElement();
int id = admcert.getID();
// do something with the ID
}
AgiAdmServer
|
SilverStream Application Server 3.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||