Versions in this module Expand all Collapse all v0 v0.0.9 Apr 6, 2026 v0.0.8 Apr 3, 2026 v0.0.7 Mar 28, 2026 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIKeyMintDevice + const DescriptorIKeyMintOperation + const DescriptorIRemotelyProvisionedComponent + const IKeyMintDeviceAuthTokenMacLength + const IRemotelyProvisionedComponentStatusFailed + const IRemotelyProvisionedComponentStatusInvalidEek + const IRemotelyProvisionedComponentStatusInvalidMac + const IRemotelyProvisionedComponentStatusProductionKeyInTestRequest + const IRemotelyProvisionedComponentStatusRemoved + const IRemotelyProvisionedComponentStatusTestKeyInProductionRequest + const KeyParameterValueTagAlgorithm + const KeyParameterValueTagBlob + const KeyParameterValueTagBlockMode + const KeyParameterValueTagBoolValue + const KeyParameterValueTagDateTime + const KeyParameterValueTagDigest + const KeyParameterValueTagEcCurve + const KeyParameterValueTagHardwareAuthenticatorType + const KeyParameterValueTagInteger + const KeyParameterValueTagInvalid + const KeyParameterValueTagKeyPurpose + const KeyParameterValueTagLongInteger + const KeyParameterValueTagOrigin + const KeyParameterValueTagPaddingMode + const KeyParameterValueTagSecurityLevel + const MethodIKeyMintDeviceAddRngEntropy + const MethodIKeyMintDeviceBegin + const MethodIKeyMintDeviceConvertStorageKeyToEphemeral + const MethodIKeyMintDeviceDeleteAllKeys + const MethodIKeyMintDeviceDeleteKey + const MethodIKeyMintDeviceDestroyAttestationIds + const MethodIKeyMintDeviceDeviceLocked + const MethodIKeyMintDeviceEarlyBootEnded + const MethodIKeyMintDeviceGenerateKey + const MethodIKeyMintDeviceGetHardwareInfo + const MethodIKeyMintDeviceGetKeyCharacteristics + const MethodIKeyMintDeviceGetRootOfTrust + const MethodIKeyMintDeviceGetRootOfTrustChallenge + const MethodIKeyMintDeviceImportKey + const MethodIKeyMintDeviceImportWrappedKey + const MethodIKeyMintDeviceSendRootOfTrust + const MethodIKeyMintDeviceUpgradeKey + const MethodIKeyMintOperationAbort + const MethodIKeyMintOperationFinish + const MethodIKeyMintOperationUpdate + const MethodIKeyMintOperationUpdateAad + const MethodIRemotelyProvisionedComponentGenerateCertificateRequest + const MethodIRemotelyProvisionedComponentGenerateCertificateRequestV2 + const MethodIRemotelyProvisionedComponentGenerateEcdsaP256KeyPair + const MethodIRemotelyProvisionedComponentGetHardwareInfo + const RpcHardwareInfoCurve25519 + const RpcHardwareInfoCurveNone + const RpcHardwareInfoCurveP256 + const RpcHardwareInfoMinSupportedNumKeysInCsr + const TransactionIKeyMintDeviceAddRngEntropy + const TransactionIKeyMintDeviceBegin + const TransactionIKeyMintDeviceConvertStorageKeyToEphemeral + const TransactionIKeyMintDeviceDeleteAllKeys + const TransactionIKeyMintDeviceDeleteKey + const TransactionIKeyMintDeviceDestroyAttestationIds + const TransactionIKeyMintDeviceDeviceLocked + const TransactionIKeyMintDeviceEarlyBootEnded + const TransactionIKeyMintDeviceGenerateKey + const TransactionIKeyMintDeviceGetHardwareInfo + const TransactionIKeyMintDeviceGetKeyCharacteristics + const TransactionIKeyMintDeviceGetRootOfTrust + const TransactionIKeyMintDeviceGetRootOfTrustChallenge + const TransactionIKeyMintDeviceImportKey + const TransactionIKeyMintDeviceImportWrappedKey + const TransactionIKeyMintDeviceSendRootOfTrust + const TransactionIKeyMintDeviceUpgradeKey + const TransactionIKeyMintOperationAbort + const TransactionIKeyMintOperationFinish + const TransactionIKeyMintOperationUpdate + const TransactionIKeyMintOperationUpdateAad + const TransactionIRemotelyProvisionedComponentGenerateCertificateRequest + const TransactionIRemotelyProvisionedComponentGenerateCertificateRequestV2 + const TransactionIRemotelyProvisionedComponentGenerateEcdsaP256KeyPair + const TransactionIRemotelyProvisionedComponentGetHardwareInfo + type Algorithm int32 + const AlgorithmAES + const AlgorithmEC + const AlgorithmHMAC + const AlgorithmRSA + const AlgorithmTripleDes + type AttestationKey struct + AttestKeyParams []KeyParameter + IssuerSubjectName []byte + KeyBlob []byte + func (s *AttestationKey) MarshalParcel(p *parcel.Parcel) error + func (s *AttestationKey) UnmarshalParcel(p *parcel.Parcel) error + type BeginResult struct + Challenge int64 + Operation IKeyMintOperation + Params []KeyParameter + func (s *BeginResult) MarshalParcel(p *parcel.Parcel) error + func (s *BeginResult) UnmarshalParcel(p *parcel.Parcel) error + type BlockMode int32 + const BlockModeCBC + const BlockModeCTR + const BlockModeECB + const BlockModeGCM + type Certificate struct + EncodedCertificate []byte + func (s *Certificate) MarshalParcel(p *parcel.Parcel) error + func (s *Certificate) UnmarshalParcel(p *parcel.Parcel) error + type DeviceInfo struct + DeviceInfo []byte + func (s *DeviceInfo) MarshalParcel(p *parcel.Parcel) error + func (s *DeviceInfo) UnmarshalParcel(p *parcel.Parcel) error + type Digest int32 + const DigestMD5 + const DigestNONE + const DigestSHA1 + const DigestSha2224 + const DigestSha2256 + const DigestSha2384 + const DigestSha2512 + type EcCurve int32 + const EcCurveCurve25519 + const EcCurveP224 + const EcCurveP256 + const EcCurveP384 + const EcCurveP521 + type ErrorCode int32 + const ErrorCodeAttestationApplicationIdMissing + const ErrorCodeAttestationChallengeMissing + const ErrorCodeAttestationIdsNotProvisioned + const ErrorCodeAttestationKeysNotProvisioned + const ErrorCodeBootLevelExceeded + const ErrorCodeCallerNonceProhibited + const ErrorCodeCannotAttestIds + const ErrorCodeConcurrentAccessConflict + const ErrorCodeConcurrentProofOfPresenceRequested + const ErrorCodeDelegationNotAllowed + const ErrorCodeDeviceLocked + const ErrorCodeEarlyBootEnded + const ErrorCodeHardwareNotYetAvailable + const ErrorCodeHardwareTypeUnavailable + const ErrorCodeImportParameterMismatch + const ErrorCodeImportedKeyDecryptionFailed + const ErrorCodeImportedKeyNotEncrypted + const ErrorCodeImportedKeyNotSigned + const ErrorCodeImportedKeyVerificationFailed + const ErrorCodeIncompatibleAlgorithm + const ErrorCodeIncompatibleBlockMode + const ErrorCodeIncompatibleDigest + const ErrorCodeIncompatibleKeyFormat + const ErrorCodeIncompatibleMgfDigest + const ErrorCodeIncompatiblePaddingMode + const ErrorCodeIncompatiblePurpose + const ErrorCodeInsufficientBufferSpace + const ErrorCodeInvalidArgument + const ErrorCodeInvalidAuthorizationTimeout + const ErrorCodeInvalidExpirationTime + const ErrorCodeInvalidInputLength + const ErrorCodeInvalidIssuerSubject + const ErrorCodeInvalidKeyBlob + const ErrorCodeInvalidMacLength + const ErrorCodeInvalidNonce + const ErrorCodeInvalidOperation + const ErrorCodeInvalidOperationHandle + const ErrorCodeInvalidTag + const ErrorCodeInvalidUserId + const ErrorCodeKeyExpired + const ErrorCodeKeyExportOptionsInvalid + const ErrorCodeKeyMaxOpsExceeded + const ErrorCodeKeyNotYetValid + const ErrorCodeKeyRateLimitExceeded + const ErrorCodeKeyRequiresUpgrade + const ErrorCodeKeyUserNotAuthenticated + const ErrorCodeKeymintNotConfigured + const ErrorCodeMemoryAllocationFailed + const ErrorCodeMissingIssuerSubject + const ErrorCodeMissingMacLength + const ErrorCodeMissingMinMacLength + const ErrorCodeMissingNonce + const ErrorCodeMissingNotAfter + const ErrorCodeMissingNotBefore + const ErrorCodeNoUserConfirmation + const ErrorCodeOK + const ErrorCodeOperationCancelled + const ErrorCodeOutputParameterNull + const ErrorCodeProofOfPresenceRequired + const ErrorCodeRollbackResistanceUnavailable + const ErrorCodeRootOfTrustAlreadySet + const ErrorCodeSecureHwAccessDenied + const ErrorCodeSecureHwBusy + const ErrorCodeSecureHwCommunicationFailed + const ErrorCodeStorageKeyUnsupported + const ErrorCodeTooManyOperations + const ErrorCodeUNIMPLEMENTED + const ErrorCodeUnexpectedNullPointer + const ErrorCodeUnknownError + const ErrorCodeUnsupportedAlgorithm + const ErrorCodeUnsupportedBlockMode + const ErrorCodeUnsupportedDigest + const ErrorCodeUnsupportedEcCurve + const ErrorCodeUnsupportedEcField + const ErrorCodeUnsupportedKdf + const ErrorCodeUnsupportedKeyEncryptionAlgorithm + const ErrorCodeUnsupportedKeyFormat + const ErrorCodeUnsupportedKeySize + const ErrorCodeUnsupportedKeyVerificationAlgorithm + const ErrorCodeUnsupportedMacLength + const ErrorCodeUnsupportedMgfDigest + const ErrorCodeUnsupportedMinMacLength + const ErrorCodeUnsupportedPaddingMode + const ErrorCodeUnsupportedPurpose + const ErrorCodeUnsupportedTag + const ErrorCodeVerificationFailed + const ErrorCodeVersionMismatch + type HardwareAuthToken struct + AuthenticatorId int64 + AuthenticatorType HardwareAuthenticatorType + Challenge int64 + Mac []byte + Timestamp secureclock.Timestamp + UserId int64 + func (s *HardwareAuthToken) MarshalParcel(p *parcel.Parcel) error + func (s *HardwareAuthToken) UnmarshalParcel(p *parcel.Parcel) error + type HardwareAuthenticatorType int32 + const HardwareAuthenticatorTypeANY + const HardwareAuthenticatorTypeFINGERPRINT + const HardwareAuthenticatorTypeNONE + const HardwareAuthenticatorTypePASSWORD + type IKeyMintDevice interface + AddRngEntropy func(ctx context.Context, data []byte) error + AsBinder func() binder.IBinder + Begin func(ctx context.Context, purpose KeyPurpose, keyBlob []byte, params []KeyParameter, ...) (BeginResult, error) + ConvertStorageKeyToEphemeral func(ctx context.Context, storageKeyBlob []byte) ([]byte, error) + DeleteAllKeys func(ctx context.Context) error + DeleteKey func(ctx context.Context, keyBlob []byte) error + DestroyAttestationIds func(ctx context.Context) error + DeviceLocked func(ctx context.Context, passwordOnly bool, ...) error + EarlyBootEnded func(ctx context.Context) error + GenerateKey func(ctx context.Context, keyParams []KeyParameter, attestationKey *AttestationKey) (KeyCreationResult, error) + GetHardwareInfo func(ctx context.Context) (KeyMintHardwareInfo, error) + GetKeyCharacteristics func(ctx context.Context, keyBlob []byte, appId []byte, appData []byte) ([]KeyCharacteristics, error) + GetRootOfTrust func(ctx context.Context, challenge []byte) ([]byte, error) + GetRootOfTrustChallenge func(ctx context.Context) ([]byte, error) + ImportKey func(ctx context.Context, keyParams []KeyParameter, keyFormat KeyFormat, ...) (KeyCreationResult, error) + ImportWrappedKey func(ctx context.Context, wrappedKeyData []byte, wrappingKeyBlob []byte, ...) (KeyCreationResult, error) + SendRootOfTrust func(ctx context.Context, rootOfTrust []byte) error + UpgradeKey func(ctx context.Context, keyBlobToUpgrade []byte, upgradeParams []KeyParameter) ([]byte, error) + func NewKeyMintDeviceStub(impl IKeyMintDeviceServer) IKeyMintDevice + type IKeyMintDeviceServer interface + AddRngEntropy func(ctx context.Context, data []byte) error + Begin func(ctx context.Context, purpose KeyPurpose, keyBlob []byte, params []KeyParameter, ...) (BeginResult, error) + ConvertStorageKeyToEphemeral func(ctx context.Context, storageKeyBlob []byte) ([]byte, error) + DeleteAllKeys func(ctx context.Context) error + DeleteKey func(ctx context.Context, keyBlob []byte) error + DestroyAttestationIds func(ctx context.Context) error + DeviceLocked func(ctx context.Context, passwordOnly bool, ...) error + EarlyBootEnded func(ctx context.Context) error + GenerateKey func(ctx context.Context, keyParams []KeyParameter, attestationKey *AttestationKey) (KeyCreationResult, error) + GetHardwareInfo func(ctx context.Context) (KeyMintHardwareInfo, error) + GetKeyCharacteristics func(ctx context.Context, keyBlob []byte, appId []byte, appData []byte) ([]KeyCharacteristics, error) + GetRootOfTrust func(ctx context.Context, challenge []byte) ([]byte, error) + GetRootOfTrustChallenge func(ctx context.Context) ([]byte, error) + ImportKey func(ctx context.Context, keyParams []KeyParameter, keyFormat KeyFormat, ...) (KeyCreationResult, error) + ImportWrappedKey func(ctx context.Context, wrappedKeyData []byte, wrappingKeyBlob []byte, ...) (KeyCreationResult, error) + SendRootOfTrust func(ctx context.Context, rootOfTrust []byte) error + UpgradeKey func(ctx context.Context, keyBlobToUpgrade []byte, upgradeParams []KeyParameter) ([]byte, error) + type IKeyMintOperation interface + Abort func(ctx context.Context) error + AsBinder func() binder.IBinder + Finish func(ctx context.Context, input []byte, signature []byte, ...) ([]byte, error) + Update func(ctx context.Context, input []byte, authToken *HardwareAuthToken, ...) ([]byte, error) + UpdateAad func(ctx context.Context, input []byte, authToken *HardwareAuthToken, ...) error + func NewKeyMintOperationStub(impl IKeyMintOperationServer) IKeyMintOperation + type IKeyMintOperationServer interface + Abort func(ctx context.Context) error + Finish func(ctx context.Context, input []byte, signature []byte, ...) ([]byte, error) + Update func(ctx context.Context, input []byte, authToken *HardwareAuthToken, ...) ([]byte, error) + UpdateAad func(ctx context.Context, input []byte, authToken *HardwareAuthToken, ...) error + type IRemotelyProvisionedComponent interface + AsBinder func() binder.IBinder + GenerateCertificateRequest func(ctx context.Context, testMode bool, keysToSign []MacedPublicKey, ...) ([]byte, error) + GenerateCertificateRequestV2 func(ctx context.Context, keysToSign []MacedPublicKey, challenge []byte) ([]byte, error) + GenerateEcdsaP256KeyPair func(ctx context.Context, testMode bool, macedPublicKey MacedPublicKey) ([]byte, error) + GetHardwareInfo func(ctx context.Context) (RpcHardwareInfo, error) + func NewRemotelyProvisionedComponentStub(impl IRemotelyProvisionedComponentServer) IRemotelyProvisionedComponent + type IRemotelyProvisionedComponentServer interface + GenerateCertificateRequest func(ctx context.Context, testMode bool, keysToSign []MacedPublicKey, ...) ([]byte, error) + GenerateCertificateRequestV2 func(ctx context.Context, keysToSign []MacedPublicKey, challenge []byte) ([]byte, error) + GenerateEcdsaP256KeyPair func(ctx context.Context, testMode bool, macedPublicKey MacedPublicKey) ([]byte, error) + GetHardwareInfo func(ctx context.Context) (RpcHardwareInfo, error) + type KeyCharacteristics struct + Authorizations []KeyParameter + SecurityLevel SecurityLevel + func (s *KeyCharacteristics) MarshalParcel(p *parcel.Parcel) error + func (s *KeyCharacteristics) UnmarshalParcel(p *parcel.Parcel) error + type KeyCreationResult struct + CertificateChain []Certificate + KeyBlob []byte + KeyCharacteristics []KeyCharacteristics + func (s *KeyCreationResult) MarshalParcel(p *parcel.Parcel) error + func (s *KeyCreationResult) UnmarshalParcel(p *parcel.Parcel) error + type KeyFormat int32 + const KeyFormatPKCS8 + const KeyFormatRAW + const KeyFormatX509 + type KeyMintDeviceProxy struct + Remote binder.IBinder + func NewKeyMintDeviceProxy(remote binder.IBinder) *KeyMintDeviceProxy + func (p *KeyMintDeviceProxy) AddRngEntropy(ctx context.Context, data []byte) error + func (p *KeyMintDeviceProxy) AsBinder() binder.IBinder + func (p *KeyMintDeviceProxy) Begin(ctx context.Context, purpose KeyPurpose, keyBlob []byte, params []KeyParameter, ...) (BeginResult, error) + func (p *KeyMintDeviceProxy) ConvertStorageKeyToEphemeral(ctx context.Context, storageKeyBlob []byte) ([]byte, error) + func (p *KeyMintDeviceProxy) DeleteAllKeys(ctx context.Context) error + func (p *KeyMintDeviceProxy) DeleteKey(ctx context.Context, keyBlob []byte) error + func (p *KeyMintDeviceProxy) DestroyAttestationIds(ctx context.Context) error + func (p *KeyMintDeviceProxy) DeviceLocked(ctx context.Context, passwordOnly bool, ...) error + func (p *KeyMintDeviceProxy) EarlyBootEnded(ctx context.Context) error + func (p *KeyMintDeviceProxy) GenerateKey(ctx context.Context, keyParams []KeyParameter, attestationKey *AttestationKey) (KeyCreationResult, error) + func (p *KeyMintDeviceProxy) GetHardwareInfo(ctx context.Context) (KeyMintHardwareInfo, error) + func (p *KeyMintDeviceProxy) GetKeyCharacteristics(ctx context.Context, keyBlob []byte, appId []byte, appData []byte) ([]KeyCharacteristics, error) + func (p *KeyMintDeviceProxy) GetRootOfTrust(ctx context.Context, challenge []byte) ([]byte, error) + func (p *KeyMintDeviceProxy) GetRootOfTrustChallenge(ctx context.Context) ([]byte, error) + func (p *KeyMintDeviceProxy) ImportKey(ctx context.Context, keyParams []KeyParameter, keyFormat KeyFormat, ...) (KeyCreationResult, error) + func (p *KeyMintDeviceProxy) ImportWrappedKey(ctx context.Context, wrappedKeyData []byte, wrappingKeyBlob []byte, ...) (KeyCreationResult, error) + func (p *KeyMintDeviceProxy) SendRootOfTrust(ctx context.Context, rootOfTrust []byte) error + func (p *KeyMintDeviceProxy) UpgradeKey(ctx context.Context, keyBlobToUpgrade []byte, upgradeParams []KeyParameter) ([]byte, error) + type KeyMintDeviceStub struct + Impl IKeyMintDevice + Transport binder.VersionAwareTransport + func (s *KeyMintDeviceStub) Descriptor() string + func (s *KeyMintDeviceStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type KeyMintHardwareInfo struct + KeyMintAuthorName string + KeyMintName string + SecurityLevel SecurityLevel + TimestampTokenRequired bool + VersionNumber int32 + func (s *KeyMintHardwareInfo) MarshalParcel(p *parcel.Parcel) error + func (s *KeyMintHardwareInfo) UnmarshalParcel(p *parcel.Parcel) error + type KeyMintOperationProxy struct + Remote binder.IBinder + func NewKeyMintOperationProxy(remote binder.IBinder) *KeyMintOperationProxy + func (p *KeyMintOperationProxy) Abort(ctx context.Context) error + func (p *KeyMintOperationProxy) AsBinder() binder.IBinder + func (p *KeyMintOperationProxy) Finish(ctx context.Context, input []byte, signature []byte, ...) ([]byte, error) + func (p *KeyMintOperationProxy) Update(ctx context.Context, input []byte, authToken *HardwareAuthToken, ...) ([]byte, error) + func (p *KeyMintOperationProxy) UpdateAad(ctx context.Context, input []byte, authToken *HardwareAuthToken, ...) error + type KeyMintOperationStub struct + Impl IKeyMintOperation + Transport binder.VersionAwareTransport + func (s *KeyMintOperationStub) Descriptor() string + func (s *KeyMintOperationStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type KeyOrigin int32 + const KeyOriginDERIVED + const KeyOriginGENERATED + const KeyOriginIMPORTED + const KeyOriginRESERVED + const KeyOriginSecurelyImported + type KeyParameter struct + Tag Tag + Value KeyParameterValue + func (s *KeyParameter) MarshalParcel(p *parcel.Parcel) error + func (s *KeyParameter) UnmarshalParcel(p *parcel.Parcel) error + type KeyParameterValue struct + Algorithm Algorithm + Blob []byte + BlockMode BlockMode + BoolValue bool + DateTime int64 + Digest Digest + EcCurve EcCurve + HardwareAuthenticatorType HardwareAuthenticatorType + Integer int32 + Invalid int32 + KeyPurpose KeyPurpose + LongInteger int64 + Origin KeyOrigin + PaddingMode PaddingMode + SecurityLevel SecurityLevel + Tag int32 + func (u *KeyParameterValue) GetAlgorithm() (Algorithm, bool) + func (u *KeyParameterValue) GetBlob() ([]byte, bool) + func (u *KeyParameterValue) GetBlockMode() (BlockMode, bool) + func (u *KeyParameterValue) GetBoolValue() (bool, bool) + func (u *KeyParameterValue) GetDateTime() (int64, bool) + func (u *KeyParameterValue) GetDigest() (Digest, bool) + func (u *KeyParameterValue) GetEcCurve() (EcCurve, bool) + func (u *KeyParameterValue) GetHardwareAuthenticatorType() (HardwareAuthenticatorType, bool) + func (u *KeyParameterValue) GetInteger() (int32, bool) + func (u *KeyParameterValue) GetInvalid() (int32, bool) + func (u *KeyParameterValue) GetKeyPurpose() (KeyPurpose, bool) + func (u *KeyParameterValue) GetLongInteger() (int64, bool) + func (u *KeyParameterValue) GetOrigin() (KeyOrigin, bool) + func (u *KeyParameterValue) GetPaddingMode() (PaddingMode, bool) + func (u *KeyParameterValue) GetSecurityLevel() (SecurityLevel, bool) + func (u *KeyParameterValue) MarshalParcel(p *parcel.Parcel) error + func (u *KeyParameterValue) SetAlgorithm(v Algorithm) + func (u *KeyParameterValue) SetBlob(v []byte) + func (u *KeyParameterValue) SetBlockMode(v BlockMode) + func (u *KeyParameterValue) SetBoolValue(v bool) + func (u *KeyParameterValue) SetDateTime(v int64) + func (u *KeyParameterValue) SetDigest(v Digest) + func (u *KeyParameterValue) SetEcCurve(v EcCurve) + func (u *KeyParameterValue) SetHardwareAuthenticatorType(v HardwareAuthenticatorType) + func (u *KeyParameterValue) SetInteger(v int32) + func (u *KeyParameterValue) SetInvalid(v int32) + func (u *KeyParameterValue) SetKeyPurpose(v KeyPurpose) + func (u *KeyParameterValue) SetLongInteger(v int64) + func (u *KeyParameterValue) SetOrigin(v KeyOrigin) + func (u *KeyParameterValue) SetPaddingMode(v PaddingMode) + func (u *KeyParameterValue) SetSecurityLevel(v SecurityLevel) + func (u *KeyParameterValue) UnmarshalParcel(p *parcel.Parcel) error + type KeyPurpose int32 + const KeyPurposeAgreeKey + const KeyPurposeAttestKey + const KeyPurposeDECRYPT + const KeyPurposeENCRYPT + const KeyPurposeSIGN + const KeyPurposeVERIFY + const KeyPurposeWrapKey + type MacedPublicKey struct + MacedKey []byte + func (s *MacedPublicKey) MarshalParcel(p *parcel.Parcel) error + func (s *MacedPublicKey) UnmarshalParcel(p *parcel.Parcel) error + type PaddingMode int32 + const PaddingModeNONE + const PaddingModePKCS7 + const PaddingModeRsaOaep + const PaddingModeRsaPkcs115Encrypt + const PaddingModeRsaPkcs115Sign + const PaddingModeRsaPss + type ProtectedData struct + ProtectedData []byte + func (s *ProtectedData) MarshalParcel(p *parcel.Parcel) error + func (s *ProtectedData) UnmarshalParcel(p *parcel.Parcel) error + type RemotelyProvisionedComponentProxy struct + Remote binder.IBinder + func NewRemotelyProvisionedComponentProxy(remote binder.IBinder) *RemotelyProvisionedComponentProxy + func (p *RemotelyProvisionedComponentProxy) AsBinder() binder.IBinder + func (p *RemotelyProvisionedComponentProxy) GenerateCertificateRequest(ctx context.Context, testMode bool, keysToSign []MacedPublicKey, ...) ([]byte, error) + func (p *RemotelyProvisionedComponentProxy) GenerateCertificateRequestV2(ctx context.Context, keysToSign []MacedPublicKey, challenge []byte) ([]byte, error) + func (p *RemotelyProvisionedComponentProxy) GenerateEcdsaP256KeyPair(ctx context.Context, testMode bool, macedPublicKey MacedPublicKey) ([]byte, error) + func (p *RemotelyProvisionedComponentProxy) GetHardwareInfo(ctx context.Context) (RpcHardwareInfo, error) + type RemotelyProvisionedComponentStub struct + Impl IRemotelyProvisionedComponent + Transport binder.VersionAwareTransport + func (s *RemotelyProvisionedComponentStub) Descriptor() string + func (s *RemotelyProvisionedComponentStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RpcHardwareInfo struct + RpcAuthorName string + SupportedEekCurve int32 + SupportedNumKeysInCsr int32 + UniqueId string + VersionNumber int32 + func (s *RpcHardwareInfo) MarshalParcel(p *parcel.Parcel) error + func (s *RpcHardwareInfo) UnmarshalParcel(p *parcel.Parcel) error + type SecurityLevel int32 + const SecurityLevelKEYSTORE + const SecurityLevelSOFTWARE + const SecurityLevelSTRONGBOX + const SecurityLevelTrustedEnvironment + type Tag int32 + const TagALGORITHM + const TagActiveDatetime + const TagAllowWhileOnBody + const TagApplicationData + const TagApplicationId + const TagAssociatedData + const TagAttestationApplicationId + const TagAttestationChallenge + const TagAttestationIdBrand + const TagAttestationIdDevice + const TagAttestationIdImei + const TagAttestationIdManufacturer + const TagAttestationIdMeid + const TagAttestationIdModel + const TagAttestationIdProduct + const TagAttestationIdSecondImei + const TagAttestationIdSerial + const TagAuthTimeout + const TagBlockMode + const TagBootPatchlevel + const TagBootloaderOnly + const TagCallerNonce + const TagCertificateNotAfter + const TagCertificateNotBefore + const TagCertificateSerial + const TagCertificateSubject + const TagConfirmationToken + const TagCreationDatetime + const TagDIGEST + const TagDeviceUniqueAttestation + const TagEarlyBootOnly + const TagEcCurve + const TagHardwareType + const TagINVALID + const TagIdentityCredentialKey + const TagIncludeUniqueId + const TagKeySize + const TagMacLength + const TagMaxBootLevel + const TagMaxUsesPerBoot + const TagMinMacLength + const TagMinSecondsBetweenOps + const TagNONCE + const TagNoAuthRequired + const TagORIGIN + const TagOriginationExpireDatetime + const TagOsPatchlevel + const TagOsVersion + const TagPADDING + const TagPURPOSE + const TagResetSinceIdRotation + const TagRollbackResistance + const TagRootOfTrust + const TagRsaOaepMgfDigest + const TagRsaPublicExponent + const TagStorageKey + const TagTrustedConfirmationRequired + const TagTrustedUserPresenceRequired + const TagUniqueId + const TagUnlockedDeviceRequired + const TagUsageCountLimit + const TagUsageExpireDatetime + const TagUserAuthType + const TagUserId + const TagUserSecureId + const TagVendorPatchlevel + type TagType int32 + const TagTypeBIGNUM + const TagTypeBOOL + const TagTypeBYTES + const TagTypeDATE + const TagTypeENUM + const TagTypeEnumRep + const TagTypeINVALID + const TagTypeUINT + const TagTypeULONG + const TagTypeUintRep + const TagTypeUlongRep