IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

key_public_key_length Property

The length of the public key in bits.

Syntax

def get_key_public_key_length() -> int: ...

key_public_key_length = property(get_key_public_key_length, None)

Default Value

0

Remarks

The length of the public key in bits. Common values are 512, 1024, and 2048.

If the key_public_key_algorithm property is ECDSA or EcDSA the length of the public key is determined by the key_curve. Possible lenghts are:

CurvePublic Key Length (bits)
secp256r1256
secp384r1384
secp521r1521
Ed25519 256
secp256k1256

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8161]