Instances of this class has at least public portion of a keypair. They might or might not have the private key.
Methods
fromPublicKey :: k -> SomePublicKeyWrap an arbitrary public key into polymorphic type SomePublicKey.
toPublicKey :: SomePublicKey -> Maybe kCast from the polymorphic type SomePublicKey to the concrete type. Return Nothing if failed.
Instances6PublicKey
PublicKey DSAKeyPairDefined in HsOpenSSL-0.11.7.10 · OpenSSL.EVP.PKeyPublicKey DSAPubKeyDefined in HsOpenSSL-0.11.7.10 · OpenSSL.EVP.PKeyPublicKey SomeKeyPairDefined in HsOpenSSL-0.11.7.10 · OpenSSL.EVP.PKeyPublicKey SomePublicKeyDefined in HsOpenSSL-0.11.7.10 · OpenSSL.EVP.PKeyPublicKey RSAKeyPairDefined in HsOpenSSL-0.11.7.10 · OpenSSL.EVP.PKeyPublicKey RSAPubKeyDefined in HsOpenSSL-0.11.7.10 · OpenSSL.EVP.PKey