Lines Matching refs:ByteSource
51 ByteSource ExportPublicKey(Environment* env, in ExportPublicKey()
54 if (!bio) return ByteSource(); in ExportPublicKey()
65 if (!spki) return ByteSource(); in ExportPublicKey()
68 if (!pkey) return ByteSource(); in ExportPublicKey()
70 if (PEM_write_bio_PUBKEY(bio.get(), pkey.get()) <= 0) return ByteSource(); in ExportPublicKey()
72 return ByteSource::FromBIO(bio); in ExportPublicKey()
84 ByteSource pkey = ExportPublicKey(env, input); in ExportPublicKey()
90 ByteSource ExportChallenge(const ArrayBufferOrViewContents<char>& input) { in ExportChallenge()
101 return ByteSource(); in ExportChallenge()
105 return (buf_size >= 0) ? ByteSource::Allocated(buf, buf_size) : ByteSource(); in ExportChallenge()
118 ByteSource cert = ExportChallenge(input); in ExportChallenge()