18#ifndef _DECAF_SECURITY_CERT_CERTIFICATE_H_
19#define _DECAF_SECURITY_CERT_CERTIFICATE_H_
63 virtual void getEncoded( std::vector<unsigned char>& output )
const = 0;
116 const std::string& sigProvider )
const = 0;
A public key.
Definition PublicKey.h:32
Base interface for all identity certificates.
Definition Certificate.h:41
virtual const PublicKey * getPublicKey() const =0
Gets the public key of this certificate.
virtual void verify(const PublicKey &publicKey) const =0
Verifies that this certificate was signed with the private key that corresponds to the specified publ...
virtual std::string getType() const =0
Returns the type of this certificate.
virtual PublicKey * getPublicKey()=0
Gets the public key of this certificate.
virtual ~Certificate()
Definition Certificate.h:45
virtual std::string toString() const =0
Returns a string representation of this certificate.
virtual void getEncoded(std::vector< unsigned char > &output) const =0
Provides the encoded form of this certificate.
virtual bool equals(const Certificate &cert) const =0
Compares the encoded form of the two certificates.
virtual void verify(const PublicKey &publicKey, const std::string &sigProvider) const =0
Verifies that this certificate was signed with the private key that corresponds to the specified publ...
#define DECAF_API
Definition Config.h:29
Definition Certificate.h:34
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25