Namespaces

Records

Functions

  • WEAVE_ERROR GenerateAndEncodeWeaveECDSASignature (TLVWriter & writer, uint64_t tag, const uint8_t * msgHash, uint8_t msgHashLen, const uint8_t * signingKey, uint16_t signingKeyLen)
  • WEAVE_ERROR EncodeWeaveECDSASignature (TLVWriter & writer, EncodedECDSASignature & sig, uint64_t tag)
  • WEAVE_ERROR DecodeWeaveECDSASignature (TLVReader & reader, EncodedECDSASignature & sig)
  • WEAVE_ERROR DecodeCopyECDSASignature_DER (const uint8_t * sigBuf, uint8_t sigLen, EncodedECDSASignature & sig)
  • WEAVE_ERROR ConvertECDSASignature_DERToWeave (const uint8_t * sigBuf, uint8_t sigLen, TLVWriter & writer, uint64_t tag)
  • WEAVE_ERROR InsertRelatedCertificatesIntoWeaveSignature (uint8_t * sigBuf, uint16_t sigLen, uint16_t sigBufLen, const uint8_t * relatedCerts, uint16_t relatedCertsLen, uint16_t & outSigLen)
  • WEAVE_ERROR DecodeWeaveCert (const uint8_t * weaveCert, uint32_t weaveCertLen, WeaveCertificateData & certData)
  • WEAVE_ERROR DecodeWeaveCert (TLVReader & reader, WeaveCertificateData & certData)
  • WEAVE_ERROR GenerateOperationalDeviceCert (uint64_t deviceId, EncodedECPublicKey & devicePubKey, uint8_t * cert, uint16_t certBufSize, uint16_t & certLen, GenerateECDSASignatureFunct genCertSignature)
  • WEAVE_ERROR DecodeWeaveDN (TLVReader & reader, WeaveDN & dn)
  • WEAVE_ERROR ConvertX509CertToWeaveCert (const uint8_t * x509Cert, uint32_t x509CertLen, uint8_t * weaveCertBuf, uint32_t weaveCertBufSize, uint32_t & weaveCertLen)
  • WEAVE_ERROR ConvertWeaveCertToX509Cert (const uint8_t * weaveCert, uint32_t weaveCertLen, uint8_t * x509CertBuf, uint32_t x509CertBufSize, uint32_t & x509CertLen)
  • WEAVE_ERROR DetermineCertType (WeaveCertificateData & cert)
  • bool IsWeaveX509Attr (OID oid)

    True if the OID represents a Weave-defined X.509 distinguished named attribute.

    Defined at line 325 of file gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveCert.h

  • bool IsWeaveIdX509Attr (OID oid)

    True if the OID represents a Weave-defined X.509 distinguished named attribute

    that contains a 64-bit Weave id.

    Defined at line 335 of file gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveCert.h

  • uint32_t OIDToWeaveCurveId (ASN1::OID curveOID)

    Defined at line 390 of file gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveSecurity.h

  • WEAVE_ERROR VerifyWeaveSignature (const uint8_t * msgHash, uint8_t msgHashLen, const uint8_t * sig, uint16_t sigLen, WeaveCertificateSet & certSet, ValidationContext & certValidContext)
  • WEAVE_ERROR VerifyWeaveSignature (const uint8_t * msgHash, uint8_t msgHashLen, const uint8_t * sig, uint16_t sigLen, OID expectedSigAlgoOID, WeaveCertificateSet & certSet, ValidationContext & certValidContext)
  • WEAVE_ERROR GetWeaveSignatureAlgo (const uint8_t * sig, uint16_t sigLen, OID & sigAlgoOID)
  • WEAVE_ERROR PackCertTime (const nl::Weave::ASN1::ASN1UniversalTime & time, uint32_t & packedTime)
  • WEAVE_ERROR UnpackCertTime (uint32_t packedTime, nl::Weave::ASN1::ASN1UniversalTime & time)
  • uint16_t PackedCertTimeToDate (uint32_t packedTime)
  • uint32_t PackedCertDateToTime (uint16_t packedDate)
  • uint32_t SecondsSinceEpochToPackedCertTime (uint32_t secondsSinceEpoch)
  • bool IsSupportedCurve (uint32_t curveId)
  • bool IsCurveInSet (uint32_t curveId, uint8_t curveSet)
  • ASN1::OID WeaveCurveIdToOID (uint32_t weaveCurveId)