equal
deleted
inserted
replaced
1 #ifndef __X509UTILS_H__ |
1 #ifndef __X509UTILS_H__ |
2 #define __X509UTILS_H__/* |
2 #define __X509UTILS_H__/* |
3 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * All rights reserved. |
4 * All rights reserved. |
5 * This component and the accompanying materials are made available |
5 * This component and the accompanying materials are made available |
6 * under the terms of the License "Eclipse Public License v1.0" |
6 * under the terms of the License "Eclipse Public License v1.0" |
7 * which accompanies this distribution, and is available |
7 * which accompanies this distribution, and is available |
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
69 If ok return true. |
69 If ok return true. |
70 |
70 |
71 If the certificate is invalid then exit the program with an error message! |
71 If the certificate is invalid then exit the program with an error message! |
72 */ |
72 */ |
73 bool X509SubjectKeyId(EUseCertificateExtension aUseExtension, bool aUseRfc3280Algorithm, |
73 bool X509SubjectKeyId(EUseCertificateExtension aUseExtension, bool aUseRfc3280Algorithm, |
74 const std::string &aCert, |
74 bool aIsCa, const std::string &aCert, |
75 std::string &aSubject, TKeyIdentifier &aSubjectKeyId); |
75 std::string &aSubject, TKeyIdentifier &aSubjectKeyId); |
76 |
76 |
77 /** |
77 /** |
78 Get the issuer key id from the certificate authority key id extension. |
78 Get the issuer key id from the certificate authority key id extension. |
79 |
79 |