public interface ISecurityLibrary
extends com.sun.jna.Library
| Modifier and Type | Field and Description |
|---|---|
static ISecurityLibrary |
library |
| Modifier and Type | Method and Description |
|---|---|
int |
secret_password_clear_sync(com.sun.jna.Pointer schema,
com.sun.jna.Pointer cancellable,
com.sun.jna.Pointer[] error,
String attribute1Key,
String attribute1Value,
String attribute2Key,
String attribute2Value,
com.sun.jna.Pointer end)
Remove unlocked matching passwords from the secret service
|
String |
secret_password_lookup_sync(com.sun.jna.Pointer schema,
com.sun.jna.Pointer cancellable,
com.sun.jna.Pointer[] error,
String attribute1Key,
String attribute1Value,
String attribute2Key,
String attribute2Value,
com.sun.jna.Pointer end)
Lookup a password in the secret service
|
int |
secret_password_store_sync(com.sun.jna.Pointer schema,
String collection,
String label,
String password,
com.sun.jna.Pointer cancellable,
com.sun.jna.Pointer[] error,
String attribute1Key,
String attribute1Value,
String attribute2Key,
String attribute2Value,
com.sun.jna.Pointer end)
Store a password in the secret service
|
com.sun.jna.Pointer |
secret_schema_new(String name,
int flag,
String attribute1Key,
int attribute1Type,
String attribute2Key,
int attribute2Type,
com.sun.jna.Pointer end)
Creates a schema for saving secret, it represents a set of attributes that are stored with it
|
static final ISecurityLibrary library
com.sun.jna.Pointer secret_schema_new(String name, int flag, String attribute1Key, int attribute1Type, String attribute2Key, int attribute2Type, com.sun.jna.Pointer end)
name - Name of the schemaflag - The flag for the schema definition
SecretSchemaFlagsattribute1Key - Name/Key of the attribute1 of the schemaattribute1Type - Type of the attribute1 of the schema
SecretSchemaAttributeTypeattribute2Key - Name/Key of the attribute2 of the schemaattribute2Type - Type of the attribute2 of the schema
SecretSchemaAttributeTypeend - Null parameter to indicate end of attributesint secret_password_store_sync(com.sun.jna.Pointer schema,
String collection,
String label,
String password,
com.sun.jna.Pointer cancellable,
com.sun.jna.Pointer[] error,
String attribute1Key,
String attribute1Value,
String attribute2Key,
String attribute2Value,
com.sun.jna.Pointer end)
schema - Schema for attributescollection - A collection alias, or D-Bus object path of the collection where to store the secretlabel - Label for the secretpassword - The secret to savecancellable - Optional cancellation objecterror - Location to place an error on failureattribute1Key - Key of the attribute1attribute1Value - Value of the attribute1attribute2Key - Key of the attribute2attribute2Value - Value of the attribute2end - Null parameter to indicate end of attributesString secret_password_lookup_sync(com.sun.jna.Pointer schema, com.sun.jna.Pointer cancellable, com.sun.jna.Pointer[] error, String attribute1Key, String attribute1Value, String attribute2Key, String attribute2Value, com.sun.jna.Pointer end)
schema - The schema for the attributescancellable - Optional cancellation objecterror - Location to place an error on failureattribute1Key - Key of the attribute1attribute1Value - Value of the attribute1attribute2Key - Key of the attribute2attribute2Value - Value of the attribute2end - Null parameter to indicate end of attributesint secret_password_clear_sync(com.sun.jna.Pointer schema,
com.sun.jna.Pointer cancellable,
com.sun.jna.Pointer[] error,
String attribute1Key,
String attribute1Value,
String attribute2Key,
String attribute2Value,
com.sun.jna.Pointer end)
schema - The schema for the attributescancellable - Optional cancellation objecterror - Location to place an error on failureattribute1Key - Key of the attribute1attribute1Value - Value of the attribute1attribute2Key - Key of the attribute2attribute2Value - Value of the attribute2end - Null parameter to indicate end of attributesCopyright © 2024. All rights reserved.