Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIFileIntegrityService + const DescriptorIKeyChainAliasCallback + const DescriptorIKeyChainService + const MethodIFileIntegrityServiceCreateAuthToken + const MethodIFileIntegrityServiceIsApkVeritySupported + const MethodIFileIntegrityServiceIsAppSourceCertificateTrusted + const MethodIFileIntegrityServiceSetupFsverity + const MethodIKeyChainAliasCallbackAlias + const MethodIKeyChainServiceContainsCaAlias + const MethodIKeyChainServiceContainsKeyPair + const MethodIKeyChainServiceDeleteCaCertificate + const MethodIKeyChainServiceGenerateKeyPair + const MethodIKeyChainServiceGetCaCertificateChainAliases + const MethodIKeyChainServiceGetCaCertificates + const MethodIKeyChainServiceGetCertificate + const MethodIKeyChainServiceGetCredentialManagementAppPackageName + const MethodIKeyChainServiceGetCredentialManagementAppPolicy + const MethodIKeyChainServiceGetEncodedCaCertificate + const MethodIKeyChainServiceGetGrants + const MethodIKeyChainServiceGetPredefinedAliasForPackageAndUri + const MethodIKeyChainServiceGetSystemCaAliases + const MethodIKeyChainServiceGetUserCaAliases + const MethodIKeyChainServiceGetWifiKeyGrantAsUser + const MethodIKeyChainServiceHasCredentialManagementApp + const MethodIKeyChainServiceHasGrant + const MethodIKeyChainServiceInstallCaCertificate + const MethodIKeyChainServiceInstallKeyPair + const MethodIKeyChainServiceIsCredentialManagementApp + const MethodIKeyChainServiceIsUserSelectable + const MethodIKeyChainServiceRemoveCredentialManagementApp + const MethodIKeyChainServiceRemoveKeyPair + const MethodIKeyChainServiceRequestPrivateKey + const MethodIKeyChainServiceReset + const MethodIKeyChainServiceSetCredentialManagementApp + const MethodIKeyChainServiceSetGrant + const MethodIKeyChainServiceSetKeyPairCertificate + const MethodIKeyChainServiceSetUserSelectable + const TransactionIFileIntegrityServiceCreateAuthToken + const TransactionIFileIntegrityServiceIsApkVeritySupported + const TransactionIFileIntegrityServiceIsAppSourceCertificateTrusted + const TransactionIFileIntegrityServiceSetupFsverity + const TransactionIKeyChainAliasCallbackAlias + const TransactionIKeyChainServiceContainsCaAlias + const TransactionIKeyChainServiceContainsKeyPair + const TransactionIKeyChainServiceDeleteCaCertificate + const TransactionIKeyChainServiceGenerateKeyPair + const TransactionIKeyChainServiceGetCaCertificateChainAliases + const TransactionIKeyChainServiceGetCaCertificates + const TransactionIKeyChainServiceGetCertificate + const TransactionIKeyChainServiceGetCredentialManagementAppPackageName + const TransactionIKeyChainServiceGetCredentialManagementAppPolicy + const TransactionIKeyChainServiceGetEncodedCaCertificate + const TransactionIKeyChainServiceGetGrants + const TransactionIKeyChainServiceGetPredefinedAliasForPackageAndUri + const TransactionIKeyChainServiceGetSystemCaAliases + const TransactionIKeyChainServiceGetUserCaAliases + const TransactionIKeyChainServiceGetWifiKeyGrantAsUser + const TransactionIKeyChainServiceHasCredentialManagementApp + const TransactionIKeyChainServiceHasGrant + const TransactionIKeyChainServiceInstallCaCertificate + const TransactionIKeyChainServiceInstallKeyPair + const TransactionIKeyChainServiceIsCredentialManagementApp + const TransactionIKeyChainServiceIsUserSelectable + const TransactionIKeyChainServiceRemoveCredentialManagementApp + const TransactionIKeyChainServiceRemoveKeyPair + const TransactionIKeyChainServiceRequestPrivateKey + const TransactionIKeyChainServiceReset + const TransactionIKeyChainServiceSetCredentialManagementApp + const TransactionIKeyChainServiceSetGrant + const TransactionIKeyChainServiceSetKeyPairCertificate + const TransactionIKeyChainServiceSetUserSelectable + type AppUriAuthenticationPolicy struct + func (s *AppUriAuthenticationPolicy) MarshalParcel(p *parcel.Parcel) error + func (s *AppUriAuthenticationPolicy) UnmarshalParcel(p *parcel.Parcel) error + type FileIntegrityServiceProxy struct + Remote binder.IBinder + func GetFileIntegrityService(ctx context.Context, sm *servicemanager.ServiceManager) (*FileIntegrityServiceProxy, error) + func NewFileIntegrityServiceProxy(remote binder.IBinder) *FileIntegrityServiceProxy + func (p *FileIntegrityServiceProxy) AsBinder() binder.IBinder + func (p *FileIntegrityServiceProxy) CreateAuthToken(ctx context.Context, authFd int32) (os.IInstalldIFsveritySetupAuthToken, error) + func (p *FileIntegrityServiceProxy) IsApkVeritySupported(ctx context.Context) (bool, error) + func (p *FileIntegrityServiceProxy) IsAppSourceCertificateTrusted(ctx context.Context, certificateBytes []byte, packageName string) (bool, error) + func (p *FileIntegrityServiceProxy) SetupFsverity(ctx context.Context, authToken os.IInstalldIFsveritySetupAuthToken, ...) (int32, error) + type FileIntegrityServiceStub struct + Impl IFileIntegrityService + Transport binder.VersionAwareTransport + func (s *FileIntegrityServiceStub) Descriptor() string + func (s *FileIntegrityServiceStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type IFileIntegrityService interface + AsBinder func() binder.IBinder + CreateAuthToken func(ctx context.Context, authFd int32) (os.IInstalldIFsveritySetupAuthToken, error) + IsApkVeritySupported func(ctx context.Context) (bool, error) + IsAppSourceCertificateTrusted func(ctx context.Context, certificateBytes []byte, packageName string) (bool, error) + SetupFsverity func(ctx context.Context, authToken os.IInstalldIFsveritySetupAuthToken, ...) (int32, error) + func NewFileIntegrityServiceStub(impl IFileIntegrityServiceServer) IFileIntegrityService + type IFileIntegrityServiceServer interface + CreateAuthToken func(ctx context.Context, authFd int32) (os.IInstalldIFsveritySetupAuthToken, error) + IsApkVeritySupported func(ctx context.Context) (bool, error) + IsAppSourceCertificateTrusted func(ctx context.Context, certificateBytes []byte, packageName string) (bool, error) + SetupFsverity func(ctx context.Context, authToken os.IInstalldIFsveritySetupAuthToken, ...) (int32, error) + type IKeyChainAliasCallback interface + Alias func(ctx context.Context, alias string) error + AsBinder func() binder.IBinder + func NewKeyChainAliasCallbackStub(impl IKeyChainAliasCallbackServer) IKeyChainAliasCallback + type IKeyChainAliasCallbackServer interface + Alias func(ctx context.Context, alias string) error + type IKeyChainService interface + AsBinder func() binder.IBinder + ContainsCaAlias func(ctx context.Context, alias string) (bool, error) + ContainsKeyPair func(ctx context.Context, alias string) (bool, error) + DeleteCaCertificate func(ctx context.Context, alias string) (bool, error) + GenerateKeyPair func(ctx context.Context, algorithm string, ...) (int32, error) + GetCaCertificateChainAliases func(ctx context.Context, rootAlias string, includeDeletedSystem bool) ([]string, error) + GetCaCertificates func(ctx context.Context, alias string) ([]byte, error) + GetCertificate func(ctx context.Context, alias string) ([]byte, error) + GetCredentialManagementAppPackageName func(ctx context.Context) (string, error) + GetCredentialManagementAppPolicy func(ctx context.Context) (AppUriAuthenticationPolicy, error) + GetEncodedCaCertificate func(ctx context.Context, alias string, includeDeletedSystem bool) ([]byte, error) + GetGrants func(ctx context.Context, alias string) ([]int32, error) + GetPredefinedAliasForPackageAndUri func(ctx context.Context, packageName string, uri net.Uri) (string, error) + GetSystemCaAliases func(ctx context.Context) (pm.StringParceledListSlice, error) + GetUserCaAliases func(ctx context.Context) (pm.StringParceledListSlice, error) + GetWifiKeyGrantAsUser func(ctx context.Context, alias string) (string, error) + HasCredentialManagementApp func(ctx context.Context) (bool, error) + HasGrant func(ctx context.Context, uid int32, alias string) (bool, error) + InstallCaCertificate func(ctx context.Context, caCertificate []byte) (string, error) + InstallKeyPair func(ctx context.Context, privateKey []byte, userCert []byte, certChain []byte, ...) (bool, error) + IsCredentialManagementApp func(ctx context.Context, packageName string) (bool, error) + IsUserSelectable func(ctx context.Context, alias string) (bool, error) + RemoveCredentialManagementApp func(ctx context.Context) error + RemoveKeyPair func(ctx context.Context, alias string) (bool, error) + RequestPrivateKey func(ctx context.Context, alias string) (string, error) + Reset func(ctx context.Context) (bool, error) + SetCredentialManagementApp func(ctx context.Context, packageName string, policy AppUriAuthenticationPolicy) error + SetGrant func(ctx context.Context, uid int32, alias string, value bool) (bool, error) + SetKeyPairCertificate func(ctx context.Context, alias string, userCert []byte, certChain []byte) (bool, error) + SetUserSelectable func(ctx context.Context, alias string, isUserSelectable bool) error + func NewKeyChainServiceStub(impl IKeyChainServiceServer) IKeyChainService + type IKeyChainServiceServer interface + ContainsCaAlias func(ctx context.Context, alias string) (bool, error) + ContainsKeyPair func(ctx context.Context, alias string) (bool, error) + DeleteCaCertificate func(ctx context.Context, alias string) (bool, error) + GenerateKeyPair func(ctx context.Context, algorithm string, ...) (int32, error) + GetCaCertificateChainAliases func(ctx context.Context, rootAlias string, includeDeletedSystem bool) ([]string, error) + GetCaCertificates func(ctx context.Context, alias string) ([]byte, error) + GetCertificate func(ctx context.Context, alias string) ([]byte, error) + GetCredentialManagementAppPackageName func(ctx context.Context) (string, error) + GetCredentialManagementAppPolicy func(ctx context.Context) (AppUriAuthenticationPolicy, error) + GetEncodedCaCertificate func(ctx context.Context, alias string, includeDeletedSystem bool) ([]byte, error) + GetGrants func(ctx context.Context, alias string) ([]int32, error) + GetPredefinedAliasForPackageAndUri func(ctx context.Context, packageName string, uri net.Uri) (string, error) + GetSystemCaAliases func(ctx context.Context) (pm.StringParceledListSlice, error) + GetUserCaAliases func(ctx context.Context) (pm.StringParceledListSlice, error) + GetWifiKeyGrantAsUser func(ctx context.Context, alias string) (string, error) + HasCredentialManagementApp func(ctx context.Context) (bool, error) + HasGrant func(ctx context.Context, uid int32, alias string) (bool, error) + InstallCaCertificate func(ctx context.Context, caCertificate []byte) (string, error) + InstallKeyPair func(ctx context.Context, privateKey []byte, userCert []byte, certChain []byte, ...) (bool, error) + IsCredentialManagementApp func(ctx context.Context, packageName string) (bool, error) + IsUserSelectable func(ctx context.Context, alias string) (bool, error) + RemoveCredentialManagementApp func(ctx context.Context) error + RemoveKeyPair func(ctx context.Context, alias string) (bool, error) + RequestPrivateKey func(ctx context.Context, alias string) (string, error) + Reset func(ctx context.Context) (bool, error) + SetCredentialManagementApp func(ctx context.Context, packageName string, policy AppUriAuthenticationPolicy) error + SetGrant func(ctx context.Context, uid int32, alias string, value bool) (bool, error) + SetKeyPairCertificate func(ctx context.Context, alias string, userCert []byte, certChain []byte) (bool, error) + SetUserSelectable func(ctx context.Context, alias string, isUserSelectable bool) error + type KeyChainAliasCallbackProxy struct + Remote binder.IBinder + func NewKeyChainAliasCallbackProxy(remote binder.IBinder) *KeyChainAliasCallbackProxy + func (p *KeyChainAliasCallbackProxy) Alias(ctx context.Context, alias string) error + func (p *KeyChainAliasCallbackProxy) AsBinder() binder.IBinder + type KeyChainAliasCallbackStub struct + Impl IKeyChainAliasCallback + Transport binder.VersionAwareTransport + func (s *KeyChainAliasCallbackStub) Descriptor() string + func (s *KeyChainAliasCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type KeyChainServiceProxy struct + Remote binder.IBinder + func NewKeyChainServiceProxy(remote binder.IBinder) *KeyChainServiceProxy + func (p *KeyChainServiceProxy) AsBinder() binder.IBinder + func (p *KeyChainServiceProxy) ContainsCaAlias(ctx context.Context, alias string) (bool, error) + func (p *KeyChainServiceProxy) ContainsKeyPair(ctx context.Context, alias string) (bool, error) + func (p *KeyChainServiceProxy) DeleteCaCertificate(ctx context.Context, alias string) (bool, error) + func (p *KeyChainServiceProxy) GenerateKeyPair(ctx context.Context, algorithm string, ...) (int32, error) + func (p *KeyChainServiceProxy) GetCaCertificateChainAliases(ctx context.Context, rootAlias string, includeDeletedSystem bool) ([]string, error) + func (p *KeyChainServiceProxy) GetCaCertificates(ctx context.Context, alias string) ([]byte, error) + func (p *KeyChainServiceProxy) GetCertificate(ctx context.Context, alias string) ([]byte, error) + func (p *KeyChainServiceProxy) GetCredentialManagementAppPackageName(ctx context.Context) (string, error) + func (p *KeyChainServiceProxy) GetCredentialManagementAppPolicy(ctx context.Context) (AppUriAuthenticationPolicy, error) + func (p *KeyChainServiceProxy) GetEncodedCaCertificate(ctx context.Context, alias string, includeDeletedSystem bool) ([]byte, error) + func (p *KeyChainServiceProxy) GetGrants(ctx context.Context, alias string) ([]int32, error) + func (p *KeyChainServiceProxy) GetPredefinedAliasForPackageAndUri(ctx context.Context, packageName string, uri net.Uri) (string, error) + func (p *KeyChainServiceProxy) GetSystemCaAliases(ctx context.Context) (pm.StringParceledListSlice, error) + func (p *KeyChainServiceProxy) GetUserCaAliases(ctx context.Context) (pm.StringParceledListSlice, error) + func (p *KeyChainServiceProxy) GetWifiKeyGrantAsUser(ctx context.Context, alias string) (string, error) + func (p *KeyChainServiceProxy) HasCredentialManagementApp(ctx context.Context) (bool, error) + func (p *KeyChainServiceProxy) HasGrant(ctx context.Context, uid int32, alias string) (bool, error) + func (p *KeyChainServiceProxy) InstallCaCertificate(ctx context.Context, caCertificate []byte) (string, error) + func (p *KeyChainServiceProxy) InstallKeyPair(ctx context.Context, privateKey []byte, userCert []byte, certChain []byte, ...) (bool, error) + func (p *KeyChainServiceProxy) IsCredentialManagementApp(ctx context.Context, packageName string) (bool, error) + func (p *KeyChainServiceProxy) IsUserSelectable(ctx context.Context, alias string) (bool, error) + func (p *KeyChainServiceProxy) RemoveCredentialManagementApp(ctx context.Context) error + func (p *KeyChainServiceProxy) RemoveKeyPair(ctx context.Context, alias string) (bool, error) + func (p *KeyChainServiceProxy) RequestPrivateKey(ctx context.Context, alias string) (string, error) + func (p *KeyChainServiceProxy) Reset(ctx context.Context) (bool, error) + func (p *KeyChainServiceProxy) SetCredentialManagementApp(ctx context.Context, packageName string, policy AppUriAuthenticationPolicy) error + func (p *KeyChainServiceProxy) SetGrant(ctx context.Context, uid int32, alias string, value bool) (bool, error) + func (p *KeyChainServiceProxy) SetKeyPairCertificate(ctx context.Context, alias string, userCert []byte, certChain []byte) (bool, error) + func (p *KeyChainServiceProxy) SetUserSelectable(ctx context.Context, alias string, isUserSelectable bool) error + type KeyChainServiceStub struct + Impl IKeyChainService + Transport binder.VersionAwareTransport + func (s *KeyChainServiceStub) Descriptor() string + func (s *KeyChainServiceStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error)