corda / net.corda.core.crypto / Crypto / validatePublicKey

validatePublicKey

@JvmStatic fun validatePublicKey(key: PublicKey): Boolean

Check if a public key satisfies algorithm specs. For instance, an ECC key should lie on the curve and not being point-at-infinity.