ONVIF:...vateKey(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ’…:

  • CertificateID
  • Certificate
  • PrivateKey

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