Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
nl::Weave::Profiles::Security::WeaveCertificateSet
Podsumowanie
Funkcje publiczne
|
AddTrustedKey(uint64_t caId, uint32_t curveId, const EncodedECPublicKey & pubKey, const uint8_t *pubKeyId, uint16_t pubKeyIdLen)
|
|
Clear(void)
|
void
|
FindCert(const CertificateKeyId & subjectKeyId) const
|
|
FindValidCert(const WeaveDN & subjectDN, const CertificateKeyId & subjectKeyId, ValidationContext & context, WeaveCertificateData *& cert)
|
|
GenerateECDSASignature(const uint8_t *msgHash, uint8_t msgHashLen, WeaveCertificateData & cert, const EncodedECPrivateKey & privKey, EncodedECDSASignature & encodedSig)
|
|
Init(uint8_t maxCerts, uint16_t decodeBufSize)
|
|
Init(uint8_t maxCerts, uint16_t decodeBufSize, AllocFunct allocFunct, FreeFunct freeFunct)
|
|
Init(WeaveCertificateData *certBuf, uint8_t certBufSize, uint8_t *decodeBuf, uint16_t decodeBufSize)
|
|
LastCert(void) const
|
|
LoadCert(const uint8_t *weaveCert, uint32_t weaveCertLen, uint16_t decodeFlags, WeaveCertificateData *& cert)
|
|
LoadCert(TLVReader & reader, uint16_t decodeFlags, WeaveCertificateData *& cert)
|
|
LoadCerts(const uint8_t *encodedCerts, uint32_t encodedCertsLen, uint16_t decodeFlags)
|
|
LoadCerts(TLVReader & reader, uint16_t decodeFlags)
|
|
Release(void)
|
void
|
SaveCerts(TLVWriter & writer, WeaveCertificateData *firstCert, bool includeTrusted)
|
|
ValidateCert(WeaveCertificateData & cert, ValidationContext & context)
|
|
VerifyECDSASignature(const uint8_t *msgHash, uint8_t msgHashLen, const EncodedECDSASignature & encodedSig, WeaveCertificateData & cert)
|
|
Typy publiczne
AllocFunct
void *(* AllocFunct)(size_t size)
FreeFunct
void(* FreeFunct)(void *p)
Atrybuty publiczne
CertCount
uint8_t CertCount
Certyfikaty
WeaveCertificateData * Certs
MaxCerts
uint8_t MaxCerts
Atrybuty chronione
mAllocFunct
AllocFunct mAllocFunct
mDecodeBuf
uint8_t * mDecodeBuf
mDecodeBufSize
uint16_t mDecodeBufSize
mFreeFunct
FreeFunct mFreeFunct
Funkcje publiczne
AddTrustedKey
WEAVE_ERROR AddTrustedKey(
uint64_t caId,
uint32_t curveId,
const EncodedECPublicKey & pubKey,
const uint8_t *pubKeyId,
uint16_t pubKeyIdLen
)
Wyczyść
void Clear(
void
)
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych. Thread jest zastrzeżonym znakiem towarowym firmy Thread Group, Inc.
Ostatnia aktualizacja: 2023-12-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Brak potrzebnych mi informacji"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zbyt skomplikowane / zbyt wiele czynności do wykonania"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nieaktualne treści"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem z tłumaczeniem"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem z przykładami/kodem"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Inne"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Łatwo zrozumieć"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Rozwiązało to mój problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Inne"
}]