IRPCLogin.GetPublicKeyAnonymous

View as Markdown

Vault API / core session no session

Gets the server's RSA public key without a session, for encrypting authentication data before login.

ServiceLogin and sessions MFiles.IRPCLogin
gRPC method/MFiles.IRPCLogin/GetPublicKeyAnonymous
HTTP (mf-http-grpc)POST /grpc/v1/get-public-key-anonymous
RequestGetPublicKeyAnonymousRequest
ResponseGetPublicKeyAnonymousResponse
Book and levelVault API, core
Kindsession
SessionNot needed: the call can be made before logging in.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Same key as GetPublicKey. Over TLS, applications do not need it. Leave remote_can_be_null unset.

Request: GetPublicKeyAnonymousRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
remote_can_be_nullServerAddressIf set, specifies the address of the remote server.
remote_can_be_null.network_addressstringThe network address (name) of the server.
remote_can_be_null.endpointstringThe endpoint of the server.
remote_can_be_null.protocol_sequencestringThe protocol sequence of the server.
vaultstringM-Files vault GUID.
password_encryptionPasswordEncryptionEncryption for which the key is requested.Values: PASSWORD_ENCRYPTION_RC4 (0), PASSWORD_ENCRYPTION_UNENCRYPTED (1), PASSWORD_ENCRYPTION_AES256 (2).

Response: GetPublicKeyAnonymousResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
public_keybytesReceives the public key as a BLOB.