Searched refs:PUBLIC_KEY (Results 1 – 15 of 15) sorted by relevance
93 const PUBLIC_KEY: &[u8] = include_bytes!("ed25519_test_public_key.bin"); in test_ed25519_from_seed_and_public_key_misuse() constant95 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, PUBLIC_KEY).is_ok()); in test_ed25519_from_seed_and_public_key_misuse()98 assert!(Ed25519KeyPair::from_seed_and_public_key(&PRIVATE_KEY[..31], PUBLIC_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse()101 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, &PUBLIC_KEY[..31]).is_err()); in test_ed25519_from_seed_and_public_key_misuse()104 assert!(Ed25519KeyPair::from_seed_and_public_key(PUBLIC_KEY, PRIVATE_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse()157 const PUBLIC_KEY: &[u8] = include_bytes!("ed25519_test_public_key.der"); in ed25519_test_public_key_coverage() constant164 assert_eq!(key_pair.public_key().as_ref(), PUBLIC_KEY); in ed25519_test_public_key_coverage()
199 const PUBLIC_KEY: &[u8] = include_bytes!("ecdsa_test_public_key_p256.der"); in ecdsa_test_public_key_coverage() constant209 assert_eq!(key_pair.public_key().as_ref(), PUBLIC_KEY); in ecdsa_test_public_key_coverage()
311 const PUBLIC_KEY: &[u8] = include_bytes!("rsa_test_public_key_2048.der"); in rsa_test_public_key_coverage() constant317 assert_eq!(key_pair.public_key().as_ref(), PUBLIC_KEY); in rsa_test_public_key_coverage()
86 final static public String PUBLIC_KEY = "RSA-SHA1.PublicKey"; field in RSA_SHA1114 Object publicKeyObject = accessor.consumer.getProperty(PUBLIC_KEY); in initialize()
41 private static final String PUBLIC_KEY = "# Public key"; field in TestVectorLoader125 if (!line.startsWith(PUBLIC_KEY)) in loadNextTest()
210 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
214 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
429 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
361 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
427 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
357 if (wrappedKeyType == Cipher.PUBLIC_KEY) { in engineUnwrap()
548 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()
552 if (wrappedKeyType == Cipher.PUBLIC_KEY) in engineUnwrap()