Searched refs:ECPublicKeySpec (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/java/security/spec/
H A DECPublicKeySpec.java39 public class ECPublicKeySpec implements KeySpec { class in inherits:KeySpec
45 * Creates a new ECPublicKeySpec with the specified
55 public ECPublicKeySpec(ECPoint w, ECParameterSpec params) { method in class:ECPublicKeySpec
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECKeyFactory.java40 * . ECPublicKeySpec
225 } else if (keySpec instanceof ECPublicKeySpec) {
226 ECPublicKeySpec ecSpec = (ECPublicKeySpec)keySpec;
232 throw new InvalidKeySpecException("Only ECPublicKeySpec "
264 if (ECPublicKeySpec.class.isAssignableFrom(keySpec)) {
265 return (T) new ECPublicKeySpec(
273 ("KeySpec must be ECPublicKeySpec or "
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DECDHCrypt.java109 ECPublicKeySpec spec = new ECPublicKeySpec(point, params);
H A DHandshakeMessage.java1058 new ECPublicKeySpec(point, parameters));
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11ECKeyFactory.java158 if (keySpec instanceof ECPublicKeySpec == false) {
159 throw new InvalidKeySpecException("Only ECPublicKeySpec and "
163 ECPublicKeySpec ec = (ECPublicKeySpec)keySpec;
264 if (ECPublicKeySpec.class.isAssignableFrom(keySpec)) {
274 return new ECPublicKeySpec(point, params);
279 throw new InvalidKeySpecException("Only ECPublicKeySpec and "
/openjdk7/jdk/test/java/security/spec/
H A DECCBasic.java59 private static final ECPublicKeySpec PUB_KEY = new ECPublicKeySpec
254 System.out.println("Testing ECPublicKeySpec(...)");
260 new ECPublicKeySpec(null, PARAMS);
264 new ECPublicKeySpec(POINT, null);
/openjdk7/jdk/test/sun/security/pkcs11/ec/
H A DTestKeyFactory.java73 KeySpec keySpec = kf.getKeySpec(key, ECPublicKeySpec.class);

Completed in 927 milliseconds