ONVIF:...vateKey(3pm)
π NAME π
ONVIF::Device::Types::CertificateWithPrivateKey β bestie, say that five times fast, I dare you π
It's a Perl data type class, and yes it lives in the 3pm section of the manual (User Contributed Perl Documentation, for the record π).
β¨ DESCRIPTION β¨
Okay so here's the tea π: this is a Perl data type class built for the XML Schema defined complexType CertificateWithPrivateKey, and it comes straight outta the namespace http://www.onvif.org/ver10/schema.
That's it. That's the whole vibe. It's a lil container class holding a certificate and its private key together, like a matching set π. No cap.
πΈ PROPERTIES πΈ
These are the properties you can get and set. You do that with the get_PROPERTY / set_PROPERTY methods β that's the pattern, iykyk π
:
CertificateIDCertificatePrivateKey
Three little icons, all lined up. Obsessed β¨
π₯ METHODS π₯
new
Constructor, periodt. Here's the data structure you may pass to new() β copy it exactly, don't freestyle it π:
{ # ONVIF::Device::Types::CertificateWithPrivateKey
CertificateID => $some_value, # token
Certificate => { # ONVIF::Device::Types::BinaryData
Data => $some_value, # base64Binary
},
PrivateKey => { # ONVIF::Device::Types::BinaryData
Data => $some_value, # base64Binary
},
},
See how Certificate and PrivateKey are both their own lil ONVIF::Device::Types::BinaryData situation, each holding a Data key that's base64Binary? Yeah. Cute. Structured. Slay π¦
π AUTHOR π
Generated by SOAP::WSDL β not me, not you, the machine did it π
Okay and for the lil sign-off moment π«Ά β this whole thing is documented under perl v5.40.1, dated 2026-02-01. Thanks for coming to my TED talk, go write some ONVIF code, mwah ππ
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms