Package com.sun.midp.publickeystore

Examples of com.sun.midp.publickeystore.PublicKeyInfo


        WebPublicKeyStore keystore = WebPublicKeyStore.getTrustedKeyStore();
        caList = new Vector();

        for (int i = 0; i < keystore.numberOfKeys(); i++) {
            PublicKeyInfo key = keystore.getKey(i);
            if (Permissions.MANUFACTURER_DOMAIN_BINDING.
                equals(key.getDomain())) {
                manufacturerCa = key.getOwner();
                continue;
            }

            if (Permissions.OPERATOR_DOMAIN_BINDING.
                equals(key.getDomain())) {
                operatorCa = key.getOwner();
                continue;
            }

            caList.addElement(new Ca(key.getOwner(), key.isEnabled()));
        }

        if (manufacturerCa != null) {
            label.setLength(0);
            label.append(Resource.getString(ResourceConstants.MANUFACTURER));
View Full Code Here

TOP

Related Classes of com.sun.midp.publickeystore.PublicKeyInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.