Oracle Java Wireless Client

com.sun.ams
Interface CertificateInfoManager


public interface CertificateInfoManager

This interface is a starting point to begin working with installed certificates.


Method Summary
 CertificateInfo[] getCertificates()
          Fetches all installed certificates.
 CertificateInfo[] getCertificates(int domain)
          Fetches installed certificates for a specific domain.
 void setStatusListener(CertificateManagerListener theListener)
          Assigns the certificate manager status listener
 

Method Detail

getCertificates

CertificateInfo[] getCertificates()
Fetches all installed certificates.

Returns:
an array holding installed certificates

getCertificates

CertificateInfo[] getCertificates(int domain)
Fetches installed certificates for a specific domain.

Parameters:
domain - the security domain, correct values are CertificateInfo.DOMAIN_IDENTIFIED, CertificateInfo.DOMAIN_OPERATOR, CertificateInfo.DOMAIN_MANUFACTURER
Returns:
an array holding installed certificates bound to the domain.

setStatusListener

void setStatusListener(CertificateManagerListener theListener)
Assigns the certificate manager status listener

Parameters:
theListener - CertificateManagerListener implementation or null to remove any listener

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.