Minor change
This commit is contained in:
@@ -40,6 +40,11 @@ class ClientCertAlgorithm {
|
||||
// field of a license response. This key may be either an encrypted aes key,
|
||||
// or the bytes of an ephemeral public key.
|
||||
virtual const std::string& wrapped_session_key() const = 0;
|
||||
|
||||
// Returns information on the type session key used in this format. This value
|
||||
// is intended to be included in the SignedMessage::session_key_type field of
|
||||
// a license response.
|
||||
virtual SignedMessage::SessionKeyType session_key_type() const = 0;
|
||||
};
|
||||
|
||||
class CertificateClientCert : public ClientCert {
|
||||
@@ -62,6 +67,9 @@ class CertificateClientCert : public ClientCert {
|
||||
return algorithm_->wrapped_session_key();
|
||||
}
|
||||
const std::string& key() const override { return algorithm_->session_key(); }
|
||||
SignedMessage::SessionKeyType key_type() const override {
|
||||
return algorithm_->session_key_type();
|
||||
}
|
||||
const std::string& serial_number() const override {
|
||||
return device_cert_.serial_number();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user