Versions in this module Expand all Collapse all v0 v0.1.0 Jun 26, 2024 Changes in this version + const Failed + const KAKeyMintVersion1 + const KAKeyMintVersion2 + const KAKeyMintVersion3 + const KAKeymasterVersion2 + const KAKeymasterVersion3 + const KAKeymasterVersion4 + const KAKeymasterVersion41 + const KeyMintVersion1 + const KeyMintVersion2 + const KeyMintVersion3 + const KeymasterVersion0 + const KeymasterVersion1 + const KeymasterVersion2 + const KeymasterVersion3 + const KeymasterVersion4 + const KeymasterVersion41 + const SelfSigned + const TagActiveDateTime + const TagAlgorithm + const TagAllApplications + const TagAllowWhileOnBody + const TagApplicationId + const TagAttestationApplicationId + const TagAttestationIdBrand + const TagAttestationIdDevice + const TagAttestationIdImei + const TagAttestationIdManufacturer + const TagAttestationIdMeid + const TagAttestationIdModel + const TagAttestationIdProduct + const TagAttestationIdSerial + const TagAuthTimeout + const TagBootPatchLevel + const TagCreationDateTime + const TagDeviceLocked + const TagDeviceUniqueAttestation + const TagDigest + const TagEarlyBootOnly + const TagEcCurve + const TagKeySize + const TagMgfDigest + const TagNoAuthRequired + const TagOrigin + const TagOriginationExpireDateTime + const TagOsPatchLevel + const TagOsVersion + const TagPadding + const TagPurpose + const TagRollbackResistance + const TagRollbackResistant + const TagRootOfTrust + const TagRsaPublicExponent + const TagTrustedConfirmationRequired + const TagTrustedUserPresenceRequired + const TagUnlockedDeviceRequired + const TagUsageCountLimit + const TagUsageExpireDateTime + const TagUserAuthType + const TagVendorPatchLevel + const TagVerifiedBootHash + const TagVerifiedBootKey + const TagVerifiedBootState + const Unverified + const Verified + var OIDKeyAttestationExtension = asn1.ObjectIdentifier + func CreateExtension(template *KeyDescription) (*pkix.Extension, error) + func CreateKeyDescription(template *KeyDescription) ([]byte, error) + func GetKeyExtension(crt *x509.Certificate) *pkix.Extension + type Algorithm uint + const AlgoAES + const AlgoEC + const AlgoHMAC + const AlgoRSA + func (a Algorithm) String() string + type AttestationApplicationId struct + PackageInfos []*AttestationPackageInfo + SignatureDigests [][]byte + type AttestationPackageInfo struct + PackageName string + Version int + type AttestationVersion uint + func (v AttestationVersion) String() string + type AuthorizationList struct + ActiveDateTime *int64 + Algorithm *Algorithm + AllApplications bool + AllowWhileOnBody bool + ApplicationId []byte + AttestationApplicationId *AttestationApplicationId + AttestationIdBrand []byte + AttestationIdDevice []byte + AttestationIdImei []byte + AttestationIdManufacturer []byte + AttestationIdMeid []byte + AttestationIdModel []byte + AttestationIdProduct []byte + AttestationIdSerial []byte + AuthTimeout *int32 + BootPatchLevel *int + CreationDateTime *int + Digest []Digest + EcCurve *EcCurve + KeySize *int + NoAuthRequired bool + Origin *KeyOrigin + OriginationExpireDateTime *int + OsPatchLevel *int + OsVersion *int + Padding []PaddingMode + Purpose []KeyPurpose + Raw []byte + RollbackResistance bool + RollbackResistant bool + RootOfTrust *RootOfTrust + RsaPublicExponent *int64 + TrustedConfirmationRequired bool + TrustedUserPresenceRequired bool + UnlockedDeviceRequired bool + UsageExpireDateTime *int64 + UserAuthType *HardwareAuthenticatorType + VendorPatchLevel *int + type BlockMode uint + const BlockModeCBC + const BlockModeCTR + const BlockModeECB + const BlockModeGCM + func (m BlockMode) String() string + type Digest uint + const DigestMD5 + const DigestNONE + const DigestSHA1 + const DigestSHA_2_224 + const DigestSHA_2_256 + const DigestSHA_2_384 + const DigestSHA_2_512 + func (d Digest) String() string + type EcCurve uint + const CurveP224 + const CurveP256 + const CurveP384 + const CurveP521 + func (c EcCurve) String() string + type HardwareAuthenticatorType uint + const HwAuthTypeAny + const HwAuthTypeFingerprint + const HwAuthTypeNone + const HwAuthTypePassword + func (t HardwareAuthenticatorType) String() string + type KeyBlobUsageRequirements uint + const KBURequirementsRequiresFileSystem + const KBURequirementsStandalone + func (r KeyBlobUsageRequirements) String() string + type KeyDescription struct + AttestationChallenge []byte + AttestationSecurityLevel SecurityLevel + AttestationVersion AttestationVersion + KeymasterSecurityLevel SecurityLevel + KeymasterVersion KeymasterVersion + Raw []byte + SoftwareEnforced AuthorizationList + TeeEnforced AuthorizationList + UniqueId []byte + func ParseExtension(derBytes []byte) (*KeyDescription, error) + type KeyOrigin uint + const KeyOriginDerived + const KeyOriginGenerated + const KeyOriginImported + const KeyOriginUnknown + func (o KeyOrigin) String() string + type KeyPurpose uint + const PurposeDecrypt + const PurposeDeriveKey + const PurposeEncrypt + const PurposeSign + const PurposeVerify + const PurposeWrapKey + func (p KeyPurpose) String() string + type KeymasterVersion uint + func (v KeymasterVersion) String() string + type PaddingMode uint + const PaddingNone + const PaddingPKCS7 + const PaddingRSA_OAEP + const PaddingRSA_PKCS1_1_5_ENCRYPT + const PaddingRSA_PKCS1_1_5_SIGN + const PaddingRSA_PSS + func (m PaddingMode) String() string + type RootOfTrust struct + DeviceLocked bool + Raw []byte + VerifiedBootHash []byte + VerifiedBootKey []byte + VerifiedBootState VerifiedBootState + type SecurityLevel uint + const Software + const StrongBox + const TrustedEnvironment + func (l SecurityLevel) String() string + type VerifiedBootState uint + func (s VerifiedBootState) String() string