@Test public void testSetPublicKey() throws Exception { WPPublicKey publicKey = mock(WPPublicKey.class); worldpayCSE.setPublicKey(publicKey); Assert.assertSame(publicKey, worldpayCSE.getPublicKey()); }
public void setPublicKey(String publicKey) throws WPCSEInvalidPublicKey { this.publicKey = WPPublicKey.parseKey(publicKey); }
WorldpayCSE { public void setPublicKey(String publicKey) throws WPCSEInvalidPublicKey { this.publicKey = WPPublicKey.parseKey(publicKey); } }
WorldpayCSE { public void setPublicKey(String publicKey) throws WPCSEInvalidPublicKey { this.publicKey = WPPublicKey.parseKey(publicKey); } WorldpayCSE(); }
WorldpayCSE { public void setPublicKey(String publicKey) throws WPCSEInvalidPublicKey { this.publicKey = WPPublicKey.parseKey(publicKey); } WorldpayCSE(); void setPublicKey(String publicKey); WPPublicKey getPublicKey(); void setPublicKey(WPPublicKey publicKey); static boolean isValidPublicKey(String stringKey); String encrypt(WPCardData cardData); static Set<Integer> validate(WPCardData data); }
WorldpayCSE { public void setPublicKey(String publicKey) throws WPCSEInvalidPublicKey { this.publicKey = WPPublicKey.parseKey(publicKey); } WorldpayCSE(); void setPublicKey(String publicKey); WPPublicKey getPublicKey(); void setPublicKey(WPPublicKey publicKey); static boolean isValidPublicKey(String stringKey); String encrypt(WPCardData cardData); static Set<Integer> validate(WPCardData data); static final String RSA_1_5; static final String A_256_GCM; static final String API_VERSION; static final String LIB_VERSION; static final String CHANNEL; }