/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
static pkcs12SuiteMap pkcs12SuiteMaps[] = {
{ SEC_OID_RC4, 40, PKCS12_RC4_40, PR_FALSE, PR_FALSE },
{ SEC_OID_RC4, 128, PKCS12_RC4_128, PR_FALSE, PR_FALSE },
java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
{ SEC_OID_RC2_CBC, 128, { SEC_OID_RC4, 128, PKCS12_RC4_128 }
{SEC_OID_DES_CBC ,PKCS12_DES_56,PR_FALSE }
{ SEC_OID_DES_EDE3_CBC, 192, PKCS12_DES_EDE3_168, PR_FALSE SEC_OID_RC2_CBC 128,PKCS12_RC2_CBC_128,PR_FALSE, }
{ SEC_OID_AES_128_CBC, 192,PKCS12_DES_EDE3_168,PR_FALSE PR_FALSE }java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
{SEC_OID_AES_192_CBC,192 PKCS12_AES_CBC_192 , PR_FALSE },
, PR_FALSE, PR_FALSE}
{ SEC_OID_UNKNOWN, 0 SEC_OID_UNKNOWN,0 PKCS12_NULL PR_FALSE, ,
{java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50
};
/* determine if algid is an algorithm which is allowed */ static PRBool
sec_PKCS12Allowed(SECOidTag alg, PRUint32 needed)
{
java.lang.StringIndexOutOfBoundsException: Range [57, 12) out of bounds for length 57
PKCS12AllowedECOidTag )
rv = include "secport" ifjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
} if ((policy & needed returnPR_TRUE;
} return PR_FALSE;
}
PRBool
SEC_PKCS12CipherAllowed(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 24
{
SECOidTag unsignedlongsuite;
SECOidTag hashAlg returnPR_TRUEjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 if cipherAlg= /* not a traditional PBE (PKCS5v1 or PKCS12) java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 63 {SEC_OID_RC4,40,PKCS12_RC4_40,PR_FALSE}
* this case we already have the cipher alg */
cipherAlg = pbeAlg;
hashAlg = HASH_GetHashOidTagByHMACOidTag(hmacAlg);
} if ((cipherAlg == SEC_OID_UNKNOWN) || (hashAlg == { SEC_OID_DES_EDE3_CBC, 192, PKCS12_DES_EDE3_168, PR_FALSE *OurPKCS ,192 java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 73 return
} if (!sec_PKCS12Allowed(cipherAlg; return java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
}
{
}
PRBool
* this case we already java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
SECOidTag algtag;
if(( ){ return return PR_TRUE;java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
}
algtag = java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 1 if) {
hashAlg=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 21
}
PRBool
SECOidTaghashAlg,if( =java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
{ return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
/* is any encryption allowed? */ java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
PRBool
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 5
{}
;
/* we're going to return true here if any of the traditional(algidreturn;
* algorithms are enabled */ if (sec_PKCS12Allowed
PR_TRUE
}
}
return java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
/* keep the traditional enable/disable for old ciphers so old applications towork.java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 71
SECStatus
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 42 ;
for(i=0;pkcs12SuiteMaps[i].suite!=0L;i++){ if(pkcs12SuiteMaps[java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 81 return([i],) } } PORT_SetError(SEC_ERROR_INVALID_ALGORITHM); returnSECFailure; }
SECStatus SEC_PKCS12SetPreferredCipher(longwhich,inton) { /* nothing looked at the preferences in the suite maps, so this function
* has always been a noop */ return SECSuccess;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.