Namespaces
Records
Functions
-
WEAVE_ERROR GenerateAndEncodeWeaveECDSASignature (TLVWriter &writer,uint64_ttag,const uint8_t *msgHash,uint8_tmsgHashLen,const uint8_t *signingKey,uint16_tsigningKeyLen) -
WEAVE_ERROR EncodeWeaveECDSASignature (TLVWriter &writer,EncodedECDSASignature &sig,uint64_ttag) -
WEAVE_ERROR DecodeWeaveECDSASignature (TLVReader & reader, EncodedECDSASignature & sig) -
WEAVE_ERROR DecodeCopyECDSASignature_DER (const uint8_t *sigBuf,uint8_tsigLen,EncodedECDSASignature &sig) -
WEAVE_ERROR ConvertECDSASignature_DERToWeave (const uint8_t *sigBuf,uint8_tsigLen,TLVWriter &writer,uint64_ttag) -
WEAVE_ERROR InsertRelatedCertificatesIntoWeaveSignature (uint8_t *sigBuf,uint16_tsigLen,uint16_tsigBufLen,const uint8_t *relatedCerts,uint16_trelatedCertsLen,uint16_t &outSigLen) -
WEAVE_ERROR DecodeWeaveCert (const uint8_t *weaveCert,uint32_tweaveCertLen,WeaveCertificateData &certData) -
WEAVE_ERROR DecodeWeaveCert (TLVReader & reader, WeaveCertificateData & certData) -
WEAVE_ERROR GenerateOperationalDeviceCert (uint64_tdeviceId,EncodedECPublicKey &devicePubKey,uint8_t *cert,uint16_tcertBufSize,uint16_t &certLen,GenerateECDSASignatureFunctgenCertSignature) -
WEAVE_ERROR DecodeWeaveDN (TLVReader & reader, WeaveDN & dn) -
WEAVE_ERROR ConvertX509CertToWeaveCert (const uint8_t *x509Cert,uint32_tx509CertLen,uint8_t *weaveCertBuf,uint32_tweaveCertBufSize,uint32_t &weaveCertLen) -
WEAVE_ERROR ConvertWeaveCertToX509Cert (const uint8_t *weaveCert,uint32_tweaveCertLen,uint8_t *x509CertBuf,uint32_tx509CertBufSize,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_tmsgHashLen,const uint8_t *sig,uint16_tsigLen,WeaveCertificateSet &certSet,ValidationContext &certValidContext) -
WEAVE_ERROR VerifyWeaveSignature (const uint8_t *msgHash,uint8_tmsgHashLen,const uint8_t *sig,uint16_tsigLen,OIDexpectedSigAlgoOID,WeaveCertificateSet &certSet,ValidationContext &certValidContext) -
WEAVE_ERROR GetWeaveSignatureAlgo (const uint8_t *sig,uint16_tsigLen,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)