Lines Matching refs:encodedKey
507 * @param encodedKey the encoding of a public key.
509 * @param encodedKeyAlgorithm the algorithm the encodedKey is for.
511 * @return a public key constructed from the encodedKey.
513 private static final PublicKey constructPublicKey(byte[] encodedKey,
519 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(encodedKey);
534 * @param encodedKey the encoding of a private key.
538 * @return a private key constructed from the encodedKey.
540 private static final PrivateKey constructPrivateKey(byte[] encodedKey,
546 PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(encodedKey);
561 * @param encodedKey the encoding of a secret key.
565 * @return a secret key constructed from the encodedKey.
567 private static final SecretKey constructSecretKey(byte[] encodedKey,
569 return new SecretKeySpec(encodedKey, encodedKeyAlgorithm);