keyObject.symmetricKeySize


对于秘密密钥,此属性表示密钥的大小(以字节为单位)。 对于非对称密钥,此属性为 undefined

For secret keys, this property represents the size of the key in bytes. This property is undefined for asymmetric keys.