File
Blob: src/workerd/api/crypto/spkac.h
| 1 | #pragma once |
| 2 | |
| 3 | #include <workerd/jsg/jsg.h> |
| 4 | |
| 5 | #include <kj/common.h> |
| 6 | |
| 7 | namespace workerd::api { |
| 8 | |
| 9 | bool verifySpkac(kj::ArrayPtr<const kj::byte> input); |
| 10 | |
| 11 | kj::Maybe<jsg::JsUint8Array> exportPublicKey(jsg::Lock& js, kj::ArrayPtr<const kj::byte> input); |
| 12 | |
| 13 | kj::Maybe<jsg::JsUint8Array> exportChallenge(jsg::Lock& js, kj::ArrayPtr<const kj::byte> input); |
| 14 | |
| 15 | } // namespace workerd::api |