Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
nl::Weave::Profiles::Security::WeaveCertificateSet
Özet
Herkese açık türler
|
AllocFunct)(size_t size)
|
typedef
void *(*
|
FreeFunct)(void *p)
|
typedef
void(*
|
Kamu işlevleri
|
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)
|
|
Herkese açık türler
AllocFunct
void *(* AllocFunct)(size_t size)
FreeFunct
void(* FreeFunct)(void *p)
Herkese açık özellikler
CertCount
uint8_t CertCount
Sertifikalar
WeaveCertificateData * Certs
MaxCerts
uint8_t MaxCerts
Korunan özellikler
mAllocFunct
AllocFunct mAllocFunct
mDecodeBuf
uint8_t * mDecodeBuf
mDecodeBufSize
uint16_t mDecodeBufSize
mFreeFunct
FreeFunct mFreeFunct
Kamu işlevleri
AddTrustedKey
WEAVE_ERROR AddTrustedKey(
uint64_t caId,
uint32_t curveId,
const EncodedECPublicKey & pubKey,
const uint8_t *pubKeyId,
uint16_t pubKeyIdLen
)
Temizle
void Clear(
void
)
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılar için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır. Thread, Thread Group, Inc.ın tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-12-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"İhtiyacım olan bilgiler yok"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Çok karmaşık / çok fazla adım var"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Güncel değil"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Çeviri sorunu"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Örnek veya kod sorunu"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Diğer"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Anlaması kolay"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Sorunumu çözdü"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Diğer"
}]