OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/net/x509_certificate_model.h" | 5 #include "chrome/common/net/x509_certificate_model.h" |
6 | 6 |
7 #include <cert.h> | 7 #include <cert.h> |
8 #include <cms.h> | 8 #include <cms.h> |
9 #include <hasht.h> | 9 #include <hasht.h> |
10 #include <keyhi.h> // SECKEY_DestroyPrivateKey | 10 #include <keyhi.h> // SECKEY_DestroyPrivateKey |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 string ProcessSubjectPublicKeyInfo(X509Certificate::OSCertHandle cert_handle) { | 399 string ProcessSubjectPublicKeyInfo(X509Certificate::OSCertHandle cert_handle) { |
400 return psm::ProcessSubjectPublicKeyInfo(&cert_handle->subjectPublicKeyInfo); | 400 return psm::ProcessSubjectPublicKeyInfo(&cert_handle->subjectPublicKeyInfo); |
401 } | 401 } |
402 | 402 |
403 string ProcessRawBitsSignatureWrap(X509Certificate::OSCertHandle cert_handle) { | 403 string ProcessRawBitsSignatureWrap(X509Certificate::OSCertHandle cert_handle) { |
404 return ProcessRawBits(cert_handle->signatureWrap.signature.data, | 404 return ProcessRawBits(cert_handle->signatureWrap.signature.data, |
405 cert_handle->signatureWrap.signature.len); | 405 cert_handle->signatureWrap.signature.len); |
406 } | 406 } |
407 | 407 |
408 void RegisterDynamicOids() { | 408 void RegisterDynamicOids() { |
| 409 psm::RegisterDynamicOids(); |
409 } | 410 } |
410 | 411 |
411 } // namespace x509_certificate_model | 412 } // namespace x509_certificate_model |
OLD | NEW |