Home
last modified time | relevance | path

Searched refs:pSecEnv (Results 1 – 18 of 18) sorted by relevance

/aoo41x/main/xmlsecurity/tools/standalone/mscsfit/
H A Dcertmngr.cxx109 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xEnvTunnel->getSome… in main() local
110 OSL_ENSURE( pSecEnv != NULL , in main()
116 pSecEnv->setCryptoSlot( n_hStoreHandle ) ; in main()
117 pSecEnv->setCertDb( n_hStoreHandle ) ; in main()
119 pSecEnv->enableDefaultCrypt( sal_True ) ; in main()
123 Sequence < Reference< XCertificate > > xPersonalCerts = pSecEnv->getPersonalCertificates() ; in main()
137 xCertPath = pSecEnv->buildCertificatePath( xPersonalCerts[i] ) ; in main()
146 …Reference< XCertificate > xcert = pSecEnv->getCertificate( xPersonalCerts[i]->getIssuerName(), xPe… in main()
152 sal_Int32 chars = pSecEnv->getCertificateCharacters( xPersonalCerts[i] ) ; in main()
156 sal_Int32 validity = pSecEnv->verifyCertificate( xPersonalCerts[i] ) ; in main()
H A Dencrypter.cxx234 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xEnvTunnel->getSome… in main() local
235 OSL_ENSURE( pSecEnv != NULL , in main()
241 pSecEnv->setCryptoSlot( n_hStoreHandle ) ; in main()
242 pSecEnv->setCertDb( n_hStoreHandle ) ; in main()
244 pSecEnv->enableDefaultCrypt( sal_True ) ; in main()
247 pSecEnv->adoptSymKey( symKey ) ; in main()
H A Dverifier.cxx269 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xEnvTunnel->getSome… in main() local
270 OSL_ENSURE( pSecEnv != NULL , in main()
276 pSecEnv->setCryptoSlot( n_hStoreHandle ) ; in main()
277 pSecEnv->setCertDb( n_hStoreHandle ) ; in main()
279 pSecEnv->enableDefaultCrypt( sal_True ) ; in main()
H A Dsigner.cxx269 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xEnvTunnel->getSome… in main() local
270 OSL_ENSURE( pSecEnv != NULL , in main()
276 pSecEnv->setCryptoSlot( n_hStoreHandle ) ; in main()
277 pSecEnv->setCertDb( n_hStoreHandle ) ; in main()
279 pSecEnv->enableDefaultCrypt( sal_True ) ; in main()
H A Ddecrypter.cxx193 …SecurityEnvironment_XmlSecImpl* pSecEnv = ( SecurityEnvironment_XmlSecImpl* )xEnvTunnel->getSometh… in main() local
194 OSL_ENSURE( pSecEnv != NULL , in main()
198 pSecEnv->setCryptoSlot( slot ) ; in main()
199 pSecEnv->setCertDb( certHandle ) ; in main()
/aoo41x/main/xmlsecurity/source/xmlsec/mscrypt/
H A Dxmlencryption_mscryptimpl.cxx98 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xSecTunnel->getSome… in encrypt() local
99 if( pSecEnv == NULL ) in encrypt()
168 pMngr = pSecEnv->createKeysManager() ; //i39448 in encrypt()
177 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in encrypt()
187 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in encrypt()
193 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in encrypt()
236 if( pSecEnv == NULL ) in decrypt()
274 pMngr = pSecEnv->createKeysManager() ; //i39448 in decrypt()
283 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in decrypt()
293 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in decrypt()
[all …]
H A Dxmlsignature_mscryptimpl.cxx96 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xSecTunnel->getSome… in generate() local
97 if( pSecEnv == NULL ) in generate()
128 pMngr = pSecEnv->createKeysManager() ; //i39448 in generate()
138 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in generate()
158 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in generate()
196 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xSecTunnel->getSome… in validate() local
197 if( pSecEnv == NULL ) in validate()
235 pMngr = pSecEnv->createKeysManager() ; //i39448 in validate()
244 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in validate()
270 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in validate()
H A Dxmlsecuritycontext_mscryptimpl.cxx159 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xEnvTunnel->getSome…
160 if( pSecEnv == NULL )
163 hkeyStore = pSecEnv->getCryptoSlot() ;
164 hCertStore = pSecEnv->getCertDb() ;
176 for( i = 0 ; ( symKey = pSecEnv->getSymKey( i ) ) != NULL ; i ++ ) {
185 for( i = 0 ; ( pubKey = pSecEnv->getPubKey( i ) ) != NULL ; i ++ ) {
194 for( i = 0 ; ( priKey = pSecEnv->getPriKey( i ) ) != NULL ; i ++ ) {
203 if( pSecEnv->defaultEnabled() ) {
H A Dseinitializer_mscryptimpl.cxx109 …SecurityEnvironment_MSCryptImpl* pSecEnv = ( SecurityEnvironment_MSCryptImpl* )xEnvTunnel->getSome… in createSecurityContext() local
110 if( pSecEnv == NULL ) in createSecurityContext()
123 pSecEnv->setCryptoSlot( n_hStoreHandle ) ; in createSecurityContext()
124 pSecEnv->setCertDb( n_hStoreHandle ) ; in createSecurityContext()
128 pSecEnv->enableDefaultCrypt( sal_True ) ; in createSecurityContext()
/aoo41x/main/xmlsecurity/source/xmlsec/nss/
H A Dxmlencryption_nssimpl.cxx109 SecurityEnvironment_NssImpl* pSecEnv = in encrypt() local
112 if( pSecEnv == NULL ) in encrypt()
182 pMngr = pSecEnv->createKeysManager() ; //i39448 in encrypt()
191 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in encrypt()
231 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in encrypt()
239 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in encrypt()
322 SecurityEnvironment_NssImpl* pSecEnv = in decrypt() local
326 if( pSecEnv == NULL ) in decrypt()
329 pMngr = pSecEnv->createKeysManager() ; //i39448 in decrypt()
338 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in decrypt()
[all …]
H A Dxmlsignature_nssimpl.cxx138 SecurityEnvironment_NssImpl* pSecEnv = in generate() local
142 if( pSecEnv == NULL ) in generate()
147 pMngr = pSecEnv->createKeysManager() ; //i39448 in generate()
156 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in generate()
177 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in generate()
248 SecurityEnvironment_NssImpl* pSecEnv = in validate() local
252 if( pSecEnv == NULL ) in validate()
255 pMngr = pSecEnv->createKeysManager() ; //i39448 in validate()
264 pSecEnv->destroyKeysManager( pMngr ) ; //i39448 in validate()
279 pSecEnv->destroyKeysManager( pMngr ); in validate()
[all …]
H A Dxmlsecuritycontext_nssimpl.cxx179 …SecurityEnvironment_NssImpl* pSecEnv = ( SecurityEnvironment_NssImpl* )xEnvTunnel->getSomething( S…
180 if( pSecEnv == NULL )
185 handler = pSecEnv->getCertDb() ;
198 for( i = 0 ; ( symKey = pSecEnv->getSymKey( i ) ) != NULL ; i ++ ) {
207 for( i = 0 ; ( pubKey = pSecEnv->getPubKey( i ) ) != NULL ; i ++ ) {
216 for( i = 0 ; ( priKey = pSecEnv->getPriKey( i ) ) != NULL ; i ++ ) {
H A Dseinitializer_nssimpl.cxx117 SecurityEnvironment_NssImpl* pSecEnv = reinterpret_cast<SecurityEnvironment_NssImpl*>( in createSecurityContext() local
120 pSecEnv->setCertDb(pCertHandle); in createSecurityContext()
/aoo41x/main/xmlsecurity/tools/standalone/csfit/
H A Dcertmngr.cxx128 …SecurityEnvironment_NssImpl* pSecEnv = ( SecurityEnvironment_NssImpl* )xEnvTunnel->getSomething( S… in main() local
129 OSL_ENSURE( pSecEnv != NULL , in main()
133 pSecEnv->setCryptoSlot( slot ) ; in main()
134 pSecEnv->setCertDb( certHandle ) ; in main()
137 Sequence < Reference< XCertificate > > xPersonalCerts = pSecEnv->getPersonalCertificates() ; in main()
147 xCertPath = pSecEnv->buildCertificatePath( xPersonalCerts[i] ) ; in main()
156 …Reference< XCertificate > xcert = pSecEnv->getCertificate( xPersonalCerts[i]->getIssuerName(), xPe… in main()
162 sal_Int32 chars = pSecEnv->getCertificateCharacters( xPersonalCerts[i] ) ; in main()
166 sal_Int32 validity = pSecEnv->verifyCertificate( xPersonalCerts[i] ) ; in main()
H A Dencrypter.cxx228 …SecurityEnvironment_NssImpl* pSecEnv = ( SecurityEnvironment_NssImpl* )xEnvTunnel->getSomething( S… in main() local
229 OSL_ENSURE( pSecEnv != NULL , in main()
233 pSecEnv->setCryptoSlot( slot ) ; in main()
234 pSecEnv->setCertDb( certHandle ) ; in main()
235 pSecEnv->adoptSymKey( symKey ) ; in main()
H A Ddecrypter.cxx194 …SecurityEnvironment_NssImpl* pSecEnv = ( SecurityEnvironment_NssImpl* )xEnvTunnel->getSomething( S… in main() local
195 OSL_ENSURE( pSecEnv != NULL , in main()
199 pSecEnv->setCryptoSlot( slot ) ; in main()
200 pSecEnv->setCertDb( certHandle ) ; in main()
H A Dverifier.cxx271 …SecurityEnvironment_NssImpl* pSecEnv = ( SecurityEnvironment_NssImpl* )xEnvTunnel->getSomething( S… in main() local
272 OSL_ENSURE( pSecEnv != NULL , in main()
276 pSecEnv->setCryptoSlot( slot ) ; in main()
277 pSecEnv->setCertDb( certHandle ) ; in main()
H A Dsigner.cxx287 …SecurityEnvironment_NssImpl* pSecEnv = ( SecurityEnvironment_NssImpl* )xEnvTunnel->getSomething( S… in main() local
288 OSL_ENSURE( pSecEnv != NULL , in main()
292 pSecEnv->setCryptoSlot( slot ) ; in main()
293 pSecEnv->setCertDb( certHandle ) ; in main()

Completed in 94 milliseconds