|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.tn.db.SecurityOps
public class SecurityOps
Provides database operations for storing and retrieving certificates and private key information in CertificateData table.
Constructor Summary | |
---|---|
SecurityOps()
|
Method Summary | |
---|---|
static int |
deleteCertificateData(java.sql.Connection conn,
java.lang.String certId)
Delete a row of CertData. |
static com.wm.app.tn.security.CertData |
getCertificateData(java.sql.Connection conn,
java.lang.String ownerId,
java.lang.String partnerId,
java.lang.String usage)
Select a row of CertData for given OwnerID, PartnerID and Usage. |
static com.wm.app.tn.security.CertData |
getCertificateDataByCertID(java.sql.Connection conn,
java.lang.String certId)
Select a row of CertData for given CertID. |
static com.wm.app.tn.security.CertData |
getCertificateDataByCertID(java.lang.String certId)
|
static java.util.Vector |
getCertificateDataForOwner(java.sql.Connection conn,
java.lang.String ownerId)
Select all CertData belongs to one owner. |
static java.util.Vector |
getCertificateDataForPartnerAndUsage(java.sql.Connection conn,
java.lang.String partnerId,
java.lang.String usage)
Select all CertData with supplied PartnerID and usage. |
static java.util.Vector |
getCertificateDataForUpdate(java.sql.Connection conn,
java.lang.String ownerId,
java.sql.Timestamp expDate)
Select all CertData belongs to one owner and has the specified exp date. |
static java.lang.String |
getOwnerByCertID(java.sql.Connection conn,
java.lang.String certId)
Gets the Owner ID for the respective CertID. |
static java.lang.String |
getOwnerByCertID(java.lang.String certId)
Gets the Owner ID for the respective CertID. |
static java.lang.String |
insertCertificateData(java.sql.Connection conn,
com.wm.app.tn.security.CertData data,
boolean skipChainValidation)
Insert a new row of CertData into db. |
static boolean |
updateCertificateData(java.sql.Connection conn,
com.wm.app.tn.security.CertData data)
Update a row of CertData. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityOps()
Method Detail |
---|
public static java.lang.String insertCertificateData(java.sql.Connection conn, com.wm.app.tn.security.CertData data, boolean skipChainValidation) throws EXMLException
EXMLException
public static boolean updateCertificateData(java.sql.Connection conn, com.wm.app.tn.security.CertData data) throws EXMLException
EXMLException
public static int deleteCertificateData(java.sql.Connection conn, java.lang.String certId) throws EXMLException
EXMLException
public static com.wm.app.tn.security.CertData getCertificateData(java.sql.Connection conn, java.lang.String ownerId, java.lang.String partnerId, java.lang.String usage) throws EXMLException
EXMLException
public static com.wm.app.tn.security.CertData getCertificateDataByCertID(java.lang.String certId) throws EXMLException
EXMLException
public static com.wm.app.tn.security.CertData getCertificateDataByCertID(java.sql.Connection conn, java.lang.String certId) throws EXMLException
EXMLException
public static java.lang.String getOwnerByCertID(java.lang.String certId) throws EXMLException
EXMLException
public static java.lang.String getOwnerByCertID(java.sql.Connection conn, java.lang.String certId) throws EXMLException
EXMLException
public static java.util.Vector getCertificateDataForOwner(java.sql.Connection conn, java.lang.String ownerId) throws EXMLException
EXMLException
public static java.util.Vector getCertificateDataForUpdate(java.sql.Connection conn, java.lang.String ownerId, java.sql.Timestamp expDate) throws EXMLException
EXMLException
public static java.util.Vector getCertificateDataForPartnerAndUsage(java.sql.Connection conn, java.lang.String partnerId, java.lang.String usage) throws EXMLException
EXMLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |