toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-core
/
dev.whyoleg.cryptography.algorithms
/
EC
EC
interface
EC
<
PublicK
:
EC.PublicKey
,
PrivateK
:
EC.PrivateKey
,
KP
:
EC.KeyPair
<
PublicK
,
PrivateK
>
>
:
CryptographyAlgorithm
(
source
)
Inheritors
ECDH
ECDSA
Members
Types
Curve
Link copied to clipboard
@
JvmInline
value
class
Curve
(
val
name
:
String
)
Key
Pair
Link copied to clipboard
interface
KeyPair
<
PublicK
:
EC.PublicKey
,
PrivateK
:
EC.PrivateKey
>
:
Key
Private
Key
Link copied to clipboard
interface
PrivateKey
:
EncodableKey
<
EC.PrivateKey.Format
>
Public
Key
Link copied to clipboard
interface
PublicKey
:
EncodableKey
<
EC.PublicKey.Format
>
Properties
id
Link copied to clipboard
abstract
val
id
:
CryptographyAlgorithmId
<
*
>
Functions
key
Pair
Generator
Link copied to clipboard
abstract
fun
keyPairGenerator
(
curve
:
EC.Curve
)
:
KeyGenerator
<
KP
>
private
Key
Decoder
Link copied to clipboard
abstract
fun
privateKeyDecoder
(
curve
:
EC.Curve
)
:
KeyDecoder
<
EC.PrivateKey.Format
,
PrivateK
>
public
Key
Decoder
Link copied to clipboard
abstract
fun
publicKeyDecoder
(
curve
:
EC.Curve
)
:
KeyDecoder
<
EC.PublicKey.Format
,
PublicK
>