-
getValidSelfCertificate(primaryKey) → {packet_signature}
-
Returns the most significant (latest valid) self signature of the user
Parameters:
Name |
Type |
Description |
primaryKey |
packet_secret_key
|
packet_public_key
|
The primary key packet |
- Source:
Returns:
The self signature
-
Type
-
packet_signature
-
isRevoked(certificate, primaryKey) → {Boolean}
-
Checks if a self signature of the user is revoked
Parameters:
Name |
Type |
Description |
certificate |
packet_signature
|
|
primaryKey |
packet_secret_key
|
packet_public_key
|
The primary key packet |
- Source:
Returns:
True if the certificate is revoked
-
Type
-
Boolean
-
toPacketlist() → {packetlist}
-
Transforms structured user data to packetlist
- Source:
Returns:
-
Type
-
packetlist
-
verify(primaryKey) → {enums.keyStatus}
-
Verify User. Checks for existence of self signatures, revocation signatures
and validity of self signature
Parameters:
Name |
Type |
Description |
primaryKey |
packet_secret_key
|
packet_public_key
|
The primary key packet |
- Source:
Returns:
status of user
-
Type
-
enums.keyStatus