Package org.ejbca.core.protocol.ws.client.gen

Examples of org.ejbca.core.protocol.ws.client.gen.NameAndId


            } catch (Exception e) {
                m_log.error("WS not working", e);
                return null;
            }
            while( i.hasNext() ) {
                final NameAndId nameAndId = i.next();
                mCA.put(new Integer(nameAndId.getId()), nameAndId.getName());
                m_log.debug("CA. id: "+nameAndId.getId()+" name: "+nameAndId.getName());
            }
            return mCA.get(new Integer(this.caid));
    }
View Full Code Here


        assertNotNull(profs);
        for (NameAndId n : profs) {
            log.info("name: " + n.getName());
        }
        assertTrue(profs.size() > 1);
        NameAndId n = profs.get(0);
        // This profile only has the enduser certificate profile available
        assertEquals(1, n.getId());
        assertEquals("ENDUSER", n.getName());
    } // test23GetAvailableCertificateProfiles
View Full Code Here

TOP

Related Classes of org.ejbca.core.protocol.ws.client.gen.NameAndId

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.