Documentation
¶
Overview ¶
Package identity provides Go bindings for android.security.identity.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AccessControlProfile
- type AccessControlProfileBuilder
- func (m *AccessControlProfileBuilder) Build() (*jni.Object, error)
- func (m *AccessControlProfileBuilder) SetReaderCertificate(arg0 *jni.Object) (*jni.Object, error)
- func (m *AccessControlProfileBuilder) SetUserAuthenticationRequired(arg0 bool) (*jni.Object, error)
- func (m *AccessControlProfileBuilder) SetUserAuthenticationTimeout(arg0 int64) (*jni.Object, error)
- func (m *AccessControlProfileBuilder) ToString() (string, error)
- type AccessControlProfileId
- type AlreadyPersonalizedException
- type AuthenticationKeyMetadata
- type CipherSuiteNotSupportedException
- type Credential
- func (m *Credential) CreateEphemeralKeyPair() (*jni.Object, error)
- func (m *Credential) DecryptMessageFromReader(arg0 *jni.Object) (*jni.Object, error)
- func (m *Credential) Delete(arg0 *jni.Object) (*jni.Object, error)
- func (m *Credential) EncryptMessageToReader(arg0 *jni.Object) (*jni.Object, error)
- func (m *Credential) GetAuthKeysNeedingCertification() (*jni.Object, error)
- func (m *Credential) GetAuthenticationDataUsageCount() (*jni.Object, error)
- func (m *Credential) GetAuthenticationKeyMetadata() (*jni.Object, error)
- func (m *Credential) GetCredentialKeyCertificateChain() (*jni.Object, error)
- func (m *Credential) ProveOwnership(arg0 *jni.Object) (*jni.Object, error)
- func (m *Credential) SetAllowUsingExhaustedKeys(arg0 bool) error
- func (m *Credential) SetAllowUsingExpiredKeys(arg0 bool) error
- func (m *Credential) SetAvailableAuthenticationKeys2(arg0 int32, arg1 int32) error
- func (m *Credential) SetAvailableAuthenticationKeys3_1(arg0 int32, arg1 int32, arg2 int64) error
- func (m *Credential) SetReaderEphemeralPublicKey(arg0 *jni.Object) error
- func (m *Credential) StoreStaticAuthenticationData2(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Credential) StoreStaticAuthenticationData3_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *Credential) ToString() (string, error)
- func (m *Credential) Update(arg0 *jni.Object) (*jni.Object, error)
- type CredentialDataRequest
- func (m *CredentialDataRequest) GetReaderSignature() (*jni.Object, error)
- func (m *CredentialDataRequest) GetRequestMessage() (*jni.Object, error)
- func (m *CredentialDataRequest) IsAllowUsingExhaustedKeys() (bool, error)
- func (m *CredentialDataRequest) IsAllowUsingExpiredKeys() (bool, error)
- func (m *CredentialDataRequest) IsIncrementUseCount() (bool, error)
- func (m *CredentialDataRequest) ToString() (string, error)
- type CredentialDataRequestBuilder
- func (m *CredentialDataRequestBuilder) Build() (*jni.Object, error)
- func (m *CredentialDataRequestBuilder) SetAllowUsingExhaustedKeys(arg0 bool) (*jni.Object, error)
- func (m *CredentialDataRequestBuilder) SetAllowUsingExpiredKeys(arg0 bool) (*jni.Object, error)
- func (m *CredentialDataRequestBuilder) SetIncrementUseCount(arg0 bool) (*jni.Object, error)
- func (m *CredentialDataRequestBuilder) SetReaderSignature(arg0 *jni.Object) (*jni.Object, error)
- func (m *CredentialDataRequestBuilder) SetRequestMessage(arg0 *jni.Object) (*jni.Object, error)
- func (m *CredentialDataRequestBuilder) ToString() (string, error)
- type CredentialDataResult
- func (m *CredentialDataResult) GetDeviceMac() (*jni.Object, error)
- func (m *CredentialDataResult) GetDeviceNameSpaces() (*jni.Object, error)
- func (m *CredentialDataResult) GetDeviceSignature() (*jni.Object, error)
- func (m *CredentialDataResult) GetDeviceSignedEntries() (*jni.Object, error)
- func (m *CredentialDataResult) GetIssuerSignedEntries() (*jni.Object, error)
- func (m *CredentialDataResult) GetStaticAuthenticationData() (*jni.Object, error)
- func (m *CredentialDataResult) ToString() (string, error)
- type CredentialDataResultEntries
- func (m *CredentialDataResultEntries) GetEntry(arg0 string, arg1 string) (*jni.Object, error)
- func (m *CredentialDataResultEntries) GetEntryNames(arg0 string) (*jni.Object, error)
- func (m *CredentialDataResultEntries) GetNamespaces() (*jni.Object, error)
- func (m *CredentialDataResultEntries) GetRetrievedEntryNames(arg0 string) (*jni.Object, error)
- func (m *CredentialDataResultEntries) GetStatus(arg0 string, arg1 string) (int32, error)
- func (m *CredentialDataResultEntries) ToString() (string, error)
- type CredentialException
- type CredentialStore
- func (m *CredentialStore) CreateCredential(arg0 string, arg1 string) (*jni.Object, error)
- func (m *CredentialStore) CreatePresentationSession(arg0 int32) (*jni.Object, error)
- func (m *CredentialStore) DeleteCredentialByName(arg0 string) (*jni.Object, error)
- func (m *CredentialStore) GetCredentialByName(arg0 string, arg1 int32) (*jni.Object, error)
- func (m *CredentialStore) GetDirectAccessInstance(arg0 *jni.Object) (*jni.Object, error)
- func (m *CredentialStore) GetInstance(arg0 *jni.Object) (*jni.Object, error)
- func (m *CredentialStore) GetSupportedDocTypes() (*jni.Object, error)
- func (m *CredentialStore) ToString() (string, error)
- type DocTypeNotSupportedException
- type EphemeralPublicKeyNotFoundException
- type InvalidReaderSignatureException
- type InvalidRequestMessageException
- type MessageDecryptionException
- type NoAuthenticationKeyAvailableException
- type PersonalizationData
- type PersonalizationDataBuilder
- type PresentationSession
- func (m *PresentationSession) GetCredentialData(arg0 string, arg1 *jni.Object) (*jni.Object, error)
- func (m *PresentationSession) GetEphemeralKeyPair() (*jni.Object, error)
- func (m *PresentationSession) SetReaderEphemeralPublicKey(arg0 *jni.Object) error
- func (m *PresentationSession) SetSessionTranscript(arg0 *jni.Object) error
- func (m *PresentationSession) ToString() (string, error)
- type ResultData
- func (m *ResultData) GetAuthenticatedData() (*jni.Object, error)
- func (m *ResultData) GetEntry(arg0 string, arg1 string) (*jni.Object, error)
- func (m *ResultData) GetEntryNames(arg0 string) (*jni.Object, error)
- func (m *ResultData) GetMessageAuthenticationCode() (*jni.Object, error)
- func (m *ResultData) GetNamespaces() (*jni.Object, error)
- func (m *ResultData) GetRetrievedEntryNames(arg0 string) (*jni.Object, error)
- func (m *ResultData) GetStaticAuthenticationData() (*jni.Object, error)
- func (m *ResultData) GetStatus(arg0 string, arg1 string) (int32, error)
- func (m *ResultData) ToString() (string, error)
- type SessionTranscriptMismatchException
- type UnknownAuthenticationKeyException
- type WritableIdentityCredential
Constants ¶
const ( StatusNotInRequestMessage = consts.StatusNotInRequestMessage StatusNotRequested = consts.StatusNotRequested StatusNoAccessControlProfiles = consts.StatusNoAccessControlProfiles StatusNoSuchEntry = consts.StatusNoSuchEntry StatusOk = consts.StatusOk StatusReaderAuthenticationFailed = consts.StatusReaderAuthenticationFailed StatusUserAuthenticationFailed = consts.StatusUserAuthenticationFailed CiphersuiteEcdheHkdfEcdsaWithAes256GcmSha256 = consts.CiphersuiteEcdheHkdfEcdsaWithAes256GcmSha256 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessControlProfile ¶ added in v0.0.8
AccessControlProfile wraps android.security.identity.AccessControlProfile.
func (*AccessControlProfile) ToString ¶ added in v0.0.8
func (m *AccessControlProfile) ToString() (string, error)
ToString calls android.security.identity.AccessControlProfile.toString.
type AccessControlProfileBuilder ¶
AccessControlProfileBuilder wraps android.security.identity.AccessControlProfile$Builder.
func (*AccessControlProfileBuilder) Build ¶
func (m *AccessControlProfileBuilder) Build() (*jni.Object, error)
Build calls android.security.identity.AccessControlProfile$Builder.build.
func (*AccessControlProfileBuilder) SetReaderCertificate ¶
SetReaderCertificate calls android.security.identity.AccessControlProfile$Builder.setReaderCertificate.
func (*AccessControlProfileBuilder) SetUserAuthenticationRequired ¶
func (m *AccessControlProfileBuilder) SetUserAuthenticationRequired(arg0 bool) (*jni.Object, error)
SetUserAuthenticationRequired calls android.security.identity.AccessControlProfile$Builder.setUserAuthenticationRequired.
func (*AccessControlProfileBuilder) SetUserAuthenticationTimeout ¶
func (m *AccessControlProfileBuilder) SetUserAuthenticationTimeout(arg0 int64) (*jni.Object, error)
SetUserAuthenticationTimeout calls android.security.identity.AccessControlProfile$Builder.setUserAuthenticationTimeout.
func (*AccessControlProfileBuilder) ToString ¶ added in v0.0.8
func (m *AccessControlProfileBuilder) ToString() (string, error)
ToString calls android.security.identity.AccessControlProfile$Builder.toString.
type AccessControlProfileId ¶
AccessControlProfileId wraps android.security.identity.AccessControlProfileId.
func NewAccessControlProfileId ¶
func NewAccessControlProfileId(vm *jni.VM, arg0 int32) (*AccessControlProfileId, error)
NewAccessControlProfileId creates a new android.security.identity.AccessControlProfileId instance.
func (*AccessControlProfileId) GetId ¶
func (m *AccessControlProfileId) GetId() (int32, error)
GetId calls android.security.identity.AccessControlProfileId.getId.
func (*AccessControlProfileId) ToString ¶ added in v0.0.8
func (m *AccessControlProfileId) ToString() (string, error)
ToString calls android.security.identity.AccessControlProfileId.toString.
type AlreadyPersonalizedException ¶
AlreadyPersonalizedException wraps android.security.identity.AlreadyPersonalizedException.
func NewAlreadyPersonalizedException ¶
func NewAlreadyPersonalizedException(vm *jni.VM, arg0 string) (*AlreadyPersonalizedException, error)
NewAlreadyPersonalizedException creates a new android.security.identity.AlreadyPersonalizedException instance.
func (*AlreadyPersonalizedException) ToString ¶ added in v0.0.8
func (m *AlreadyPersonalizedException) ToString() (string, error)
ToString calls android.security.identity.AlreadyPersonalizedException.toString.
type AuthenticationKeyMetadata ¶
AuthenticationKeyMetadata wraps android.security.identity.AuthenticationKeyMetadata.
func (*AuthenticationKeyMetadata) GetExpirationDate ¶
func (m *AuthenticationKeyMetadata) GetExpirationDate() (*jni.Object, error)
GetExpirationDate calls android.security.identity.AuthenticationKeyMetadata.getExpirationDate.
func (*AuthenticationKeyMetadata) GetUsageCount ¶
func (m *AuthenticationKeyMetadata) GetUsageCount() (int32, error)
GetUsageCount calls android.security.identity.AuthenticationKeyMetadata.getUsageCount.
func (*AuthenticationKeyMetadata) ToString ¶ added in v0.0.8
func (m *AuthenticationKeyMetadata) ToString() (string, error)
ToString calls android.security.identity.AuthenticationKeyMetadata.toString.
type CipherSuiteNotSupportedException ¶
CipherSuiteNotSupportedException wraps android.security.identity.CipherSuiteNotSupportedException.
func NewCipherSuiteNotSupportedException ¶
func NewCipherSuiteNotSupportedException(vm *jni.VM, arg0 string) (*CipherSuiteNotSupportedException, error)
NewCipherSuiteNotSupportedException creates a new android.security.identity.CipherSuiteNotSupportedException instance.
func (*CipherSuiteNotSupportedException) ToString ¶ added in v0.0.8
func (m *CipherSuiteNotSupportedException) ToString() (string, error)
ToString calls android.security.identity.CipherSuiteNotSupportedException.toString.
type Credential ¶
Credential wraps android.security.identity.IdentityCredential.
func (*Credential) CreateEphemeralKeyPair ¶
func (m *Credential) CreateEphemeralKeyPair() (*jni.Object, error)
CreateEphemeralKeyPair calls android.security.identity.IdentityCredential.createEphemeralKeyPair.
func (*Credential) DecryptMessageFromReader ¶
DecryptMessageFromReader calls android.security.identity.IdentityCredential.decryptMessageFromReader.
func (*Credential) EncryptMessageToReader ¶
EncryptMessageToReader calls android.security.identity.IdentityCredential.encryptMessageToReader.
func (*Credential) GetAuthKeysNeedingCertification ¶ added in v0.0.8
func (m *Credential) GetAuthKeysNeedingCertification() (*jni.Object, error)
GetAuthKeysNeedingCertification calls android.security.identity.IdentityCredential.getAuthKeysNeedingCertification.
func (*Credential) GetAuthenticationDataUsageCount ¶
func (m *Credential) GetAuthenticationDataUsageCount() (*jni.Object, error)
GetAuthenticationDataUsageCount calls android.security.identity.IdentityCredential.getAuthenticationDataUsageCount.
func (*Credential) GetAuthenticationKeyMetadata ¶ added in v0.0.8
func (m *Credential) GetAuthenticationKeyMetadata() (*jni.Object, error)
GetAuthenticationKeyMetadata calls android.security.identity.IdentityCredential.getAuthenticationKeyMetadata.
func (*Credential) GetCredentialKeyCertificateChain ¶ added in v0.0.8
func (m *Credential) GetCredentialKeyCertificateChain() (*jni.Object, error)
GetCredentialKeyCertificateChain calls android.security.identity.IdentityCredential.getCredentialKeyCertificateChain.
func (*Credential) ProveOwnership ¶
ProveOwnership calls android.security.identity.IdentityCredential.proveOwnership.
func (*Credential) SetAllowUsingExhaustedKeys ¶
func (m *Credential) SetAllowUsingExhaustedKeys(arg0 bool) error
SetAllowUsingExhaustedKeys calls android.security.identity.IdentityCredential.setAllowUsingExhaustedKeys.
func (*Credential) SetAllowUsingExpiredKeys ¶
func (m *Credential) SetAllowUsingExpiredKeys(arg0 bool) error
SetAllowUsingExpiredKeys calls android.security.identity.IdentityCredential.setAllowUsingExpiredKeys.
func (*Credential) SetAvailableAuthenticationKeys2 ¶
func (m *Credential) SetAvailableAuthenticationKeys2(arg0 int32, arg1 int32) error
SetAvailableAuthenticationKeys2 calls android.security.identity.IdentityCredential.setAvailableAuthenticationKeys.
func (*Credential) SetAvailableAuthenticationKeys3_1 ¶
func (m *Credential) SetAvailableAuthenticationKeys3_1( arg0 int32, arg1 int32, arg2 int64, ) error
SetAvailableAuthenticationKeys3_1 calls android.security.identity.IdentityCredential.setAvailableAuthenticationKeys.
func (*Credential) SetReaderEphemeralPublicKey ¶
func (m *Credential) SetReaderEphemeralPublicKey(arg0 *jni.Object) error
SetReaderEphemeralPublicKey calls android.security.identity.IdentityCredential.setReaderEphemeralPublicKey.
func (*Credential) StoreStaticAuthenticationData2 ¶
StoreStaticAuthenticationData2 calls android.security.identity.IdentityCredential.storeStaticAuthenticationData.
func (*Credential) StoreStaticAuthenticationData3_1 ¶
func (m *Credential) StoreStaticAuthenticationData3_1( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) error
StoreStaticAuthenticationData3_1 calls android.security.identity.IdentityCredential.storeStaticAuthenticationData.
func (*Credential) ToString ¶ added in v0.0.8
func (m *Credential) ToString() (string, error)
ToString calls android.security.identity.IdentityCredential.toString.
type CredentialDataRequest ¶
CredentialDataRequest wraps android.security.identity.CredentialDataRequest.
func (*CredentialDataRequest) GetReaderSignature ¶
func (m *CredentialDataRequest) GetReaderSignature() (*jni.Object, error)
GetReaderSignature calls android.security.identity.CredentialDataRequest.getReaderSignature.
func (*CredentialDataRequest) GetRequestMessage ¶
func (m *CredentialDataRequest) GetRequestMessage() (*jni.Object, error)
GetRequestMessage calls android.security.identity.CredentialDataRequest.getRequestMessage.
func (*CredentialDataRequest) IsAllowUsingExhaustedKeys ¶
func (m *CredentialDataRequest) IsAllowUsingExhaustedKeys() (bool, error)
IsAllowUsingExhaustedKeys calls android.security.identity.CredentialDataRequest.isAllowUsingExhaustedKeys.
func (*CredentialDataRequest) IsAllowUsingExpiredKeys ¶
func (m *CredentialDataRequest) IsAllowUsingExpiredKeys() (bool, error)
IsAllowUsingExpiredKeys calls android.security.identity.CredentialDataRequest.isAllowUsingExpiredKeys.
func (*CredentialDataRequest) IsIncrementUseCount ¶
func (m *CredentialDataRequest) IsIncrementUseCount() (bool, error)
IsIncrementUseCount calls android.security.identity.CredentialDataRequest.isIncrementUseCount.
func (*CredentialDataRequest) ToString ¶ added in v0.0.8
func (m *CredentialDataRequest) ToString() (string, error)
ToString calls android.security.identity.CredentialDataRequest.toString.
type CredentialDataRequestBuilder ¶
CredentialDataRequestBuilder wraps android.security.identity.CredentialDataRequest$Builder.
func (*CredentialDataRequestBuilder) Build ¶
func (m *CredentialDataRequestBuilder) Build() (*jni.Object, error)
Build calls android.security.identity.CredentialDataRequest$Builder.build.
func (*CredentialDataRequestBuilder) SetAllowUsingExhaustedKeys ¶
func (m *CredentialDataRequestBuilder) SetAllowUsingExhaustedKeys(arg0 bool) (*jni.Object, error)
SetAllowUsingExhaustedKeys calls android.security.identity.CredentialDataRequest$Builder.setAllowUsingExhaustedKeys.
func (*CredentialDataRequestBuilder) SetAllowUsingExpiredKeys ¶
func (m *CredentialDataRequestBuilder) SetAllowUsingExpiredKeys(arg0 bool) (*jni.Object, error)
SetAllowUsingExpiredKeys calls android.security.identity.CredentialDataRequest$Builder.setAllowUsingExpiredKeys.
func (*CredentialDataRequestBuilder) SetIncrementUseCount ¶
func (m *CredentialDataRequestBuilder) SetIncrementUseCount(arg0 bool) (*jni.Object, error)
SetIncrementUseCount calls android.security.identity.CredentialDataRequest$Builder.setIncrementUseCount.
func (*CredentialDataRequestBuilder) SetReaderSignature ¶
SetReaderSignature calls android.security.identity.CredentialDataRequest$Builder.setReaderSignature.
func (*CredentialDataRequestBuilder) SetRequestMessage ¶
SetRequestMessage calls android.security.identity.CredentialDataRequest$Builder.setRequestMessage.
func (*CredentialDataRequestBuilder) ToString ¶ added in v0.0.8
func (m *CredentialDataRequestBuilder) ToString() (string, error)
ToString calls android.security.identity.CredentialDataRequest$Builder.toString.
type CredentialDataResult ¶
CredentialDataResult wraps android.security.identity.CredentialDataResult.
func (*CredentialDataResult) GetDeviceMac ¶
func (m *CredentialDataResult) GetDeviceMac() (*jni.Object, error)
GetDeviceMac calls android.security.identity.CredentialDataResult.getDeviceMac.
func (*CredentialDataResult) GetDeviceNameSpaces ¶
func (m *CredentialDataResult) GetDeviceNameSpaces() (*jni.Object, error)
GetDeviceNameSpaces calls android.security.identity.CredentialDataResult.getDeviceNameSpaces.
func (*CredentialDataResult) GetDeviceSignature ¶
func (m *CredentialDataResult) GetDeviceSignature() (*jni.Object, error)
GetDeviceSignature calls android.security.identity.CredentialDataResult.getDeviceSignature.
func (*CredentialDataResult) GetDeviceSignedEntries ¶
func (m *CredentialDataResult) GetDeviceSignedEntries() (*jni.Object, error)
GetDeviceSignedEntries calls android.security.identity.CredentialDataResult.getDeviceSignedEntries.
func (*CredentialDataResult) GetIssuerSignedEntries ¶
func (m *CredentialDataResult) GetIssuerSignedEntries() (*jni.Object, error)
GetIssuerSignedEntries calls android.security.identity.CredentialDataResult.getIssuerSignedEntries.
func (*CredentialDataResult) GetStaticAuthenticationData ¶
func (m *CredentialDataResult) GetStaticAuthenticationData() (*jni.Object, error)
GetStaticAuthenticationData calls android.security.identity.CredentialDataResult.getStaticAuthenticationData.
func (*CredentialDataResult) ToString ¶ added in v0.0.8
func (m *CredentialDataResult) ToString() (string, error)
ToString calls android.security.identity.CredentialDataResult.toString.
type CredentialDataResultEntries ¶
CredentialDataResultEntries wraps android.security.identity.CredentialDataResult$Entries.
func (*CredentialDataResultEntries) GetEntry ¶
GetEntry calls android.security.identity.CredentialDataResult$Entries.getEntry.
func (*CredentialDataResultEntries) GetEntryNames ¶ added in v0.0.8
func (m *CredentialDataResultEntries) GetEntryNames(arg0 string) (*jni.Object, error)
GetEntryNames calls android.security.identity.CredentialDataResult$Entries.getEntryNames.
func (*CredentialDataResultEntries) GetNamespaces ¶ added in v0.0.8
func (m *CredentialDataResultEntries) GetNamespaces() (*jni.Object, error)
GetNamespaces calls android.security.identity.CredentialDataResult$Entries.getNamespaces.
func (*CredentialDataResultEntries) GetRetrievedEntryNames ¶ added in v0.0.8
func (m *CredentialDataResultEntries) GetRetrievedEntryNames(arg0 string) (*jni.Object, error)
GetRetrievedEntryNames calls android.security.identity.CredentialDataResult$Entries.getRetrievedEntryNames.
func (*CredentialDataResultEntries) GetStatus ¶
func (m *CredentialDataResultEntries) GetStatus(arg0 string, arg1 string) (int32, error)
GetStatus calls android.security.identity.CredentialDataResult$Entries.getStatus.
func (*CredentialDataResultEntries) ToString ¶ added in v0.0.8
func (m *CredentialDataResultEntries) ToString() (string, error)
ToString calls android.security.identity.CredentialDataResult$Entries.toString.
type CredentialException ¶
CredentialException wraps android.security.identity.IdentityCredentialException.
func NewCredentialException ¶
func NewCredentialException(vm *jni.VM, arg0 string) (*CredentialException, error)
NewCredentialException creates a new android.security.identity.IdentityCredentialException instance.
func (*CredentialException) ToString ¶ added in v0.0.8
func (m *CredentialException) ToString() (string, error)
ToString calls android.security.identity.IdentityCredentialException.toString.
type CredentialStore ¶
CredentialStore wraps android.security.identity.IdentityCredentialStore.
func (*CredentialStore) CreateCredential ¶
CreateCredential calls android.security.identity.IdentityCredentialStore.createCredential.
func (*CredentialStore) CreatePresentationSession ¶
func (m *CredentialStore) CreatePresentationSession(arg0 int32) (*jni.Object, error)
CreatePresentationSession calls android.security.identity.IdentityCredentialStore.createPresentationSession.
func (*CredentialStore) DeleteCredentialByName ¶
func (m *CredentialStore) DeleteCredentialByName(arg0 string) (*jni.Object, error)
DeleteCredentialByName calls android.security.identity.IdentityCredentialStore.deleteCredentialByName.
func (*CredentialStore) GetCredentialByName ¶
GetCredentialByName calls android.security.identity.IdentityCredentialStore.getCredentialByName.
func (*CredentialStore) GetDirectAccessInstance ¶
GetDirectAccessInstance calls android.security.identity.IdentityCredentialStore.getDirectAccessInstance.
func (*CredentialStore) GetInstance ¶
GetInstance calls android.security.identity.IdentityCredentialStore.getInstance.
func (*CredentialStore) GetSupportedDocTypes ¶
func (m *CredentialStore) GetSupportedDocTypes() (*jni.Object, error)
GetSupportedDocTypes calls android.security.identity.IdentityCredentialStore.getSupportedDocTypes.
func (*CredentialStore) ToString ¶ added in v0.0.8
func (m *CredentialStore) ToString() (string, error)
ToString calls android.security.identity.IdentityCredentialStore.toString.
type DocTypeNotSupportedException ¶
DocTypeNotSupportedException wraps android.security.identity.DocTypeNotSupportedException.
func NewDocTypeNotSupportedException ¶
func NewDocTypeNotSupportedException(vm *jni.VM, arg0 string) (*DocTypeNotSupportedException, error)
NewDocTypeNotSupportedException creates a new android.security.identity.DocTypeNotSupportedException instance.
func (*DocTypeNotSupportedException) ToString ¶ added in v0.0.8
func (m *DocTypeNotSupportedException) ToString() (string, error)
ToString calls android.security.identity.DocTypeNotSupportedException.toString.
type EphemeralPublicKeyNotFoundException ¶
EphemeralPublicKeyNotFoundException wraps android.security.identity.EphemeralPublicKeyNotFoundException.
func NewEphemeralPublicKeyNotFoundException ¶
func NewEphemeralPublicKeyNotFoundException(vm *jni.VM, arg0 string) (*EphemeralPublicKeyNotFoundException, error)
NewEphemeralPublicKeyNotFoundException creates a new android.security.identity.EphemeralPublicKeyNotFoundException instance.
func (*EphemeralPublicKeyNotFoundException) ToString ¶ added in v0.0.8
func (m *EphemeralPublicKeyNotFoundException) ToString() (string, error)
ToString calls android.security.identity.EphemeralPublicKeyNotFoundException.toString.
type InvalidReaderSignatureException ¶
InvalidReaderSignatureException wraps android.security.identity.InvalidReaderSignatureException.
func NewInvalidReaderSignatureException ¶
func NewInvalidReaderSignatureException(vm *jni.VM, arg0 string) (*InvalidReaderSignatureException, error)
NewInvalidReaderSignatureException creates a new android.security.identity.InvalidReaderSignatureException instance.
func (*InvalidReaderSignatureException) ToString ¶ added in v0.0.8
func (m *InvalidReaderSignatureException) ToString() (string, error)
ToString calls android.security.identity.InvalidReaderSignatureException.toString.
type InvalidRequestMessageException ¶
InvalidRequestMessageException wraps android.security.identity.InvalidRequestMessageException.
func NewInvalidRequestMessageException ¶
func NewInvalidRequestMessageException(vm *jni.VM, arg0 string) (*InvalidRequestMessageException, error)
NewInvalidRequestMessageException creates a new android.security.identity.InvalidRequestMessageException instance.
func (*InvalidRequestMessageException) ToString ¶ added in v0.0.8
func (m *InvalidRequestMessageException) ToString() (string, error)
ToString calls android.security.identity.InvalidRequestMessageException.toString.
type MessageDecryptionException ¶
MessageDecryptionException wraps android.security.identity.MessageDecryptionException.
func NewMessageDecryptionException ¶
func NewMessageDecryptionException(vm *jni.VM, arg0 string) (*MessageDecryptionException, error)
NewMessageDecryptionException creates a new android.security.identity.MessageDecryptionException instance.
func (*MessageDecryptionException) ToString ¶ added in v0.0.8
func (m *MessageDecryptionException) ToString() (string, error)
ToString calls android.security.identity.MessageDecryptionException.toString.
type NoAuthenticationKeyAvailableException ¶
NoAuthenticationKeyAvailableException wraps android.security.identity.NoAuthenticationKeyAvailableException.
func NewNoAuthenticationKeyAvailableException ¶
func NewNoAuthenticationKeyAvailableException(vm *jni.VM, arg0 string) (*NoAuthenticationKeyAvailableException, error)
NewNoAuthenticationKeyAvailableException creates a new android.security.identity.NoAuthenticationKeyAvailableException instance.
func (*NoAuthenticationKeyAvailableException) ToString ¶ added in v0.0.8
func (m *NoAuthenticationKeyAvailableException) ToString() (string, error)
ToString calls android.security.identity.NoAuthenticationKeyAvailableException.toString.
type PersonalizationData ¶ added in v0.0.8
PersonalizationData wraps android.security.identity.PersonalizationData.
func (*PersonalizationData) ToString ¶ added in v0.0.8
func (m *PersonalizationData) ToString() (string, error)
ToString calls android.security.identity.PersonalizationData.toString.
type PersonalizationDataBuilder ¶
PersonalizationDataBuilder wraps android.security.identity.PersonalizationData$Builder.
func (*PersonalizationDataBuilder) AddAccessControlProfile ¶
AddAccessControlProfile calls android.security.identity.PersonalizationData$Builder.addAccessControlProfile.
func (*PersonalizationDataBuilder) Build ¶
func (m *PersonalizationDataBuilder) Build() (*jni.Object, error)
Build calls android.security.identity.PersonalizationData$Builder.build.
func (*PersonalizationDataBuilder) ToString ¶ added in v0.0.8
func (m *PersonalizationDataBuilder) ToString() (string, error)
ToString calls android.security.identity.PersonalizationData$Builder.toString.
type PresentationSession ¶
PresentationSession wraps android.security.identity.PresentationSession.
func (*PresentationSession) GetCredentialData ¶
GetCredentialData calls android.security.identity.PresentationSession.getCredentialData.
func (*PresentationSession) GetEphemeralKeyPair ¶
func (m *PresentationSession) GetEphemeralKeyPair() (*jni.Object, error)
GetEphemeralKeyPair calls android.security.identity.PresentationSession.getEphemeralKeyPair.
func (*PresentationSession) SetReaderEphemeralPublicKey ¶
func (m *PresentationSession) SetReaderEphemeralPublicKey(arg0 *jni.Object) error
SetReaderEphemeralPublicKey calls android.security.identity.PresentationSession.setReaderEphemeralPublicKey.
func (*PresentationSession) SetSessionTranscript ¶
func (m *PresentationSession) SetSessionTranscript(arg0 *jni.Object) error
SetSessionTranscript calls android.security.identity.PresentationSession.setSessionTranscript.
func (*PresentationSession) ToString ¶ added in v0.0.8
func (m *PresentationSession) ToString() (string, error)
ToString calls android.security.identity.PresentationSession.toString.
type ResultData ¶
ResultData wraps android.security.identity.ResultData.
func (*ResultData) GetAuthenticatedData ¶
func (m *ResultData) GetAuthenticatedData() (*jni.Object, error)
GetAuthenticatedData calls android.security.identity.ResultData.getAuthenticatedData.
func (*ResultData) GetEntryNames ¶ added in v0.0.8
func (m *ResultData) GetEntryNames(arg0 string) (*jni.Object, error)
GetEntryNames calls android.security.identity.ResultData.getEntryNames.
func (*ResultData) GetMessageAuthenticationCode ¶
func (m *ResultData) GetMessageAuthenticationCode() (*jni.Object, error)
GetMessageAuthenticationCode calls android.security.identity.ResultData.getMessageAuthenticationCode.
func (*ResultData) GetNamespaces ¶ added in v0.0.8
func (m *ResultData) GetNamespaces() (*jni.Object, error)
GetNamespaces calls android.security.identity.ResultData.getNamespaces.
func (*ResultData) GetRetrievedEntryNames ¶ added in v0.0.8
func (m *ResultData) GetRetrievedEntryNames(arg0 string) (*jni.Object, error)
GetRetrievedEntryNames calls android.security.identity.ResultData.getRetrievedEntryNames.
func (*ResultData) GetStaticAuthenticationData ¶
func (m *ResultData) GetStaticAuthenticationData() (*jni.Object, error)
GetStaticAuthenticationData calls android.security.identity.ResultData.getStaticAuthenticationData.
func (*ResultData) GetStatus ¶
func (m *ResultData) GetStatus(arg0 string, arg1 string) (int32, error)
GetStatus calls android.security.identity.ResultData.getStatus.
func (*ResultData) ToString ¶ added in v0.0.8
func (m *ResultData) ToString() (string, error)
ToString calls android.security.identity.ResultData.toString.
type SessionTranscriptMismatchException ¶
SessionTranscriptMismatchException wraps android.security.identity.SessionTranscriptMismatchException.
func NewSessionTranscriptMismatchException ¶
func NewSessionTranscriptMismatchException(vm *jni.VM, arg0 string) (*SessionTranscriptMismatchException, error)
NewSessionTranscriptMismatchException creates a new android.security.identity.SessionTranscriptMismatchException instance.
func (*SessionTranscriptMismatchException) ToString ¶ added in v0.0.8
func (m *SessionTranscriptMismatchException) ToString() (string, error)
ToString calls android.security.identity.SessionTranscriptMismatchException.toString.
type UnknownAuthenticationKeyException ¶
UnknownAuthenticationKeyException wraps android.security.identity.UnknownAuthenticationKeyException.
func NewUnknownAuthenticationKeyException ¶
func NewUnknownAuthenticationKeyException(vm *jni.VM, arg0 string) (*UnknownAuthenticationKeyException, error)
NewUnknownAuthenticationKeyException creates a new android.security.identity.UnknownAuthenticationKeyException instance.
func (*UnknownAuthenticationKeyException) ToString ¶ added in v0.0.8
func (m *UnknownAuthenticationKeyException) ToString() (string, error)
ToString calls android.security.identity.UnknownAuthenticationKeyException.toString.
type WritableIdentityCredential ¶
WritableIdentityCredential wraps android.security.identity.WritableIdentityCredential.
func (*WritableIdentityCredential) GetCredentialKeyCertificateChain ¶ added in v0.0.8
func (m *WritableIdentityCredential) GetCredentialKeyCertificateChain(arg0 *jni.Object) (*jni.Object, error)
GetCredentialKeyCertificateChain calls android.security.identity.WritableIdentityCredential.getCredentialKeyCertificateChain.
func (*WritableIdentityCredential) Personalize ¶
Personalize calls android.security.identity.WritableIdentityCredential.personalize.
func (*WritableIdentityCredential) ToString ¶ added in v0.0.8
func (m *WritableIdentityCredential) ToString() (string, error)
ToString calls android.security.identity.WritableIdentityCredential.toString.
Source Files
¶
- access_control_profile.go
- access_control_profile_builder.go
- access_control_profile_id.go
- already_personalized_exception.go
- authentication_key_metadata.go
- cipher_suite_not_supported_exception.go
- constants.go
- credential.go
- credential_data_request.go
- credential_data_request_builder.go
- credential_data_result.go
- credential_data_result_entries.go
- credential_exception.go
- credential_store.go
- doc.go
- doc_type_not_supported_exception.go
- ephemeral_public_key_not_found_exception.go
- init.go
- invalid_reader_signature_exception.go
- invalid_request_message_exception.go
- message_decryption_exception.go
- no_authentication_key_available_exception.go
- personalization_data.go
- personalization_data_builder.go
- presentation_session.go
- result_data.go
- session_transcript_mismatch_exception.go
- unknown_authentication_key_exception.go
- writable_identity_credential.go