Lines Matching defs:bool
161 bool IsASN1Sequence(const unsigned char* data, size_t size,
185 bool IsRSAPrivateKey(const unsigned char* data, size_t size) {
202 bool IsEncryptedPrivateKeyInfo(const unsigned char* data, size_t size) {
323 bool err;
394 bool WritePublicKeyInner(EVP_PKEY* pkey,
435 Maybe<bool> ExportJWKSecretKey(
453 return Nothing<bool>();
456 return Nothing<bool>();
466 return Nothing<bool>();
487 Maybe<bool> ExportJWKAsymmetricKey(
491 bool handleRsaPss) {
499 Just(true) : Nothing<bool>();
528 Maybe<bool> GetSecretKeyDetail(
541 Maybe<bool> GetAsymmetricKeyDetail(
554 return Nothing<bool>();
578 ManagedEVPPKey::operator bool() const {
609 // This maps true to Just<bool>(true) and false to Nothing<bool>().
610 static inline Maybe<bool> Tristate(bool b) {
611 return b ? Just(true) : Nothing<bool>();
614 Maybe<bool> ExportJWKInner(Environment* env,
617 bool handleRsaPss) {
631 Maybe<bool> ManagedEVPPKey::ToEncodedPublicKey(
635 if (!*this) return Nothing<bool>();
652 Maybe<bool> ManagedEVPPKey::ToEncodedPrivateKey(
656 if (!*this) return Nothing<bool>();
685 bool needs_passphrase = false;
732 bool allow_key_object) {
784 bool is_public;
892 bool KeyObjectHandle::HasInstance(Environment* env, Local<Value> value) {
1146 bool ret;
1244 bool KeyObjectHandle::CheckEcKeyData() const {