CryptoKeyECOpenSSL.cpp [plain text]
#include "config.h"
#include "CryptoKeyEC.h"
#if ENABLE(WEB_CRYPTO)
#include "NotImplemented.h"
namespace WebCore {
size_t CryptoKeyEC::keySizeInBits() const
{
notImplemented();
return 0;
}
bool CryptoKeyEC::platformSupportedCurve(NamedCurve)
{
notImplemented();
return false;
}
Optional<CryptoKeyPair> CryptoKeyEC::platformGeneratePair(CryptoAlgorithmIdentifier, NamedCurve, bool extractable, CryptoKeyUsageBitmap)
{
notImplemented();
return { };
}
RefPtr<CryptoKeyEC> CryptoKeyEC::platformImportRaw(CryptoAlgorithmIdentifier, NamedCurve, Vector<uint8_t>&& keyData, bool extractable, CryptoKeyUsageBitmap)
{
notImplemented();
return nullptr;
}
RefPtr<CryptoKeyEC> CryptoKeyEC::platformImportJWKPublic(CryptoAlgorithmIdentifier, NamedCurve, Vector<uint8_t>&& x, Vector<uint8_t>&& y, bool extractable, CryptoKeyUsageBitmap)
{
notImplemented();
return nullptr;
}
RefPtr<CryptoKeyEC> CryptoKeyEC::platformImportJWKPrivate(CryptoAlgorithmIdentifier, NamedCurve, Vector<uint8_t>&& x, Vector<uint8_t>&& y, Vector<uint8_t>&& d, bool extractable, CryptoKeyUsageBitmap)
{
notImplemented();
return nullptr;
}
RefPtr<CryptoKeyEC> CryptoKeyEC::platformImportSpki(CryptoAlgorithmIdentifier, NamedCurve, Vector<uint8_t>&& keyData, bool extractable, CryptoKeyUsageBitmap)
{
notImplemented();
return nullptr;
}
RefPtr<CryptoKeyEC> CryptoKeyEC::platformImportPkcs8(CryptoAlgorithmIdentifier, NamedCurve, Vector<uint8_t>&& keyData, bool extractable, CryptoKeyUsageBitmap)
{
notImplemented();
return nullptr;
}
Vector<uint8_t> CryptoKeyEC::platformExportRaw() const
{
notImplemented();
return { };
}
bool CryptoKeyEC::platformAddFieldElements(JsonWebKey&) const
{
notImplemented();
return false;
}
Vector<uint8_t> CryptoKeyEC::platformExportSpki() const
{
notImplemented();
return { };
}
Vector<uint8_t> CryptoKeyEC::platformExportPkcs8() const
{
notImplemented();
return { };
}
}
#endif // ENABLE(WEB_CRYPTO)