/* * Copyright (c) 2012 Tobias Markmann * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include namespace Swift { class SecureTransportCertificateFactory : public CertificateFactory { public: virtual Certificate::ref createCertificateFromDER(const ByteArray& der) { return Certificate::ref(new SecureTransportCertificate(der)); } }; }