def publicKeyFor()

in pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala [91:97]


    def publicKeyFor(base64Key: String): SettingsResult[PublicKey] =
      keyFor(base64Key, new X509EncodedKeySpec(_), _.generatePublic)
    def privateKeyFor(base64Key: String): SettingsResult[PrivateKey] =
      keyFor(base64Key, new PKCS8EncodedKeySpec(_), _.generatePrivate)
  }

  object Change {