/openjdk7/jdk/src/share/classes/javax/security/sasl/ |
H A D | SaslServerFactory.java | 59 * @param mechanism The non-null 60 * IANA-registered name of a SASL mechanism. (e.g. "GSSAPI", "CRAM-MD5"). 66 * mechanism and to configure the authentication exchange of the selected 67 * mechanism. See the <tt>Sasl</tt> class for a list of standard properties. 68 * Other, possibly mechanism-specific, properties can be included. 69 * Properties not relevant to the selected mechanism are ignored, 74 * to complete the authentication. For example, a SASL mechanism might 89 String mechanism, 97 * mechanism selection policies. 106 * @return A non-null array containing a IANA-registered SASL mechanism name 88 createSaslServer( String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) argument [all...] |
H A D | Sasl.java | 55 * SaslServer ss = Sasl.createSaslServer(mechanism, 126 * is defined by the mechanism. 144 * mechanism implementation may attempt to reuse previously authenticated 149 * including, but not limited to, lack of mechanism support for reuse, 253 * The property contains a mechanism-specific Java credential object. 256 * The property may be used to supply credentials to a mechanism that 275 * and the specified SASL mechanism(s). It then invokes 290 * "DIGEST-MD5" mechanism would register the following entry with the JCA: 298 * @param mechanisms The non-null list of mechanism names to try. Each is the 299 * IANA-registered name of a SASL mechanism 482 createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, javax.security.auth.callback.CallbackHandler cbh) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11KeyPairGenerator.java | 61 // mechanism id 62 private final long mechanism; field in class:P11KeyPairGenerator 76 P11KeyPairGenerator(Token token, String algorithm, long mechanism) argument 81 this.mechanism = mechanism; 315 (session.id(), new CK_MECHANISM(mechanism),
|
H A D | P11TlsKeyMaterialGenerator.java | 61 // mechanism id 62 private long mechanism; field in class:P11TlsKeyMaterialGenerator 73 P11TlsKeyMaterialGenerator(Token token, String algorithm, long mechanism) argument 78 this.mechanism = mechanism; 115 mechanism = (version == 0x0300) ? CKM_SSL3_KEY_AND_MAC_DERIVE 165 new CK_MECHANISM(mechanism, params), p11Key.keyID, attributes);
|
H A D | P11TlsMasterSecretGenerator.java | 57 // mechanism id 58 private long mechanism; field in class:P11TlsMasterSecretGenerator 65 P11TlsMasterSecretGenerator(Token token, String algorithm, long mechanism) argument 70 this.mechanism = mechanism; 96 // We assume the token supports the required mechanism. If it does not, 111 mechanism = (version == 0x0300) ? CKM_SSL3_MASTER_KEY_DERIVE 121 mechanism = (version == 0x0300) ? CKM_SSL3_MASTER_KEY_DERIVE_DH 138 new CK_MECHANISM(mechanism, params), p11Key.keyID, attributes);
|
H A D | P11TlsPrfGenerator.java | 46 * <p>This class supports the CKM_TLS_PRF mechanism from PKCS#11 v2.20 and 47 * the older NSS private mechanism. 63 // mechanism id 64 private final long mechanism; field in class:P11TlsPrfGenerator 70 P11TlsPrfGenerator(Token token, String algorithm, long mechanism) argument 75 this.mechanism = mechanism; 123 if (mechanism == CKM_NSS_TLS_PRF_GENERAL) { 128 (session.id(), new CK_MECHANISM(mechanism), p11Key.keyID); 141 // mechanism [all...] |
H A D | P11TlsRsaPremasterSecretGenerator.java | 57 // mechanism id 58 private long mechanism; field in class:P11TlsRsaPremasterSecretGenerator 62 P11TlsRsaPremasterSecretGenerator(Token token, String algorithm, long mechanism) argument 67 this.mechanism = mechanism; 99 (session.id(), new CK_MECHANISM(mechanism, version), attributes);
|
H A D | P11ECDHKeyAgreement.java | 52 // mechanism id 53 private final long mechanism; field in class:P11ECDHKeyAgreement 64 P11ECDHKeyAgreement(Token token, String algorithm, long mechanism) { argument 68 this.mechanism = mechanism; 134 new CK_MECHANISM(mechanism, ckParams), privateKey.keyID, 196 new CK_MECHANISM(mechanism, ckParams), privateKey.keyID,
|
H A D | P11KeyGenerator.java | 52 // mechanism id 53 private long mechanism; field in class:P11KeyGenerator 72 * @param keyGenMech the PKCS#11 key generation mechanism. 73 * @param keySize the to-be-checked key size for this mechanism. 74 * @param token token which provides this mechanism. 78 * @throws ProviderException if this mechanism isn't supported by SunPKCS11 111 ("Cannot retrieve mechanism info", p11e); 149 P11KeyGenerator(Token token, String algorithm, long mechanism) argument 154 this.mechanism = mechanism; [all...] |
H A D | P11KeyAgreement.java | 57 // mechanism id 58 private final long mechanism; field in class:P11KeyAgreement 72 P11KeyAgreement(Token token, String algorithm, long mechanism) { argument 76 this.mechanism = mechanism; 202 new CK_MECHANISM(mechanism, publicValue), privateKey.keyID, 317 new CK_MECHANISM(mechanism, publicValue), privateKey.keyID,
|
H A D | P11Digest.java | 72 // mechanism id 73 private final long mechanism; field in class:P11Digest 93 P11Digest(Token token, String algorithm, long mechanism) { argument 97 this.mechanism = mechanism; 98 switch ((int)mechanism) { 116 throw new ProviderException("Unknown mechanism: " + mechanism); 190 new CK_MECHANISM(mechanism), 259 token.p11.C_DigestInit(session.id(), new CK_MECHANISM(mechanism)); [all...] |
H A D | P11Mac.java | 75 // mechanism id 76 private final long mechanism; field in class:P11Mac 78 // mechanism object 96 P11Mac(Token token, String algorithm, long mechanism) argument 101 this.mechanism = mechanism; 103 switch ((int)mechanism) { 128 throw new ProviderException("Unknown mechanism: " + mechanism); 130 ckMechanism = new CK_MECHANISM(mechanism, param [all...] |
H A D | P11Signature.java | 87 // mechanism id 88 private final long mechanism; field in class:P11Signature 133 P11Signature(Token token, String algorithm, long mechanism) argument 138 this.mechanism = mechanism; 142 switch ((int)mechanism) { 224 throw new ProviderException("Unknown mechanism: " + mechanism); 303 new CK_MECHANISM(mechanism), p11Key.keyID); 306 new CK_MECHANISM(mechanism), p11Ke [all...] |
H A D | Token.java | 120 // object for indicating unsupported mechanism in 'mechInfoMap' 345 CK_MECHANISM_INFO getMechanismInfo(long mechanism) throws PKCS11Exception { argument 346 CK_MECHANISM_INFO result = mechInfoMap.get(mechanism); 350 mechanism); 351 mechInfoMap.put(mechanism, result); 356 mechInfoMap.put(mechanism, INVALID_MECH);
|
H A D | P11Cipher.java | 47 * if the native mechanism does not support padding. 128 // mechanism id 129 private final long mechanism; field in class:P11Cipher 152 // when the padding is requested but unsupported by the native mechanism, 163 // number of bytes buffered internally by the native mechanism and padBuffer 167 P11Cipher(Token token, String algorithm, long mechanism) argument 172 this.mechanism = mechanism; 238 if (mechanism != CKM_DES_CBC_PAD && mechanism ! [all...] |
H A D | P11RSACipher.java | 76 // mechanism id 77 private final long mechanism; field in class:P11RSACipher 105 P11RSACipher(Token token, String algorithm, long mechanism) argument 110 this.mechanism = mechanism; 286 CK_MECHANISM ckMechanism = new CK_MECHANISM(mechanism); 442 return token.p11.C_WrapKey(s.id(), new CK_MECHANISM(mechanism), 468 new CK_MECHANISM(mechanism), p11Key.keyID, wrappedKey,
|
H A D | SunPKCS11.java | 424 private P11Service service(Token token, int mechanism) { argument 426 (token, type, algorithm, className, aliases, mechanism); 433 // Map from mechanism to List of Descriptors that should be 434 // registered if the mechanism is supported 813 // preferred" mechanism that was defined during the 875 int mechanism = entry.getValue().intValue(); 876 Service s = d.service(token, mechanism); 907 private final long mechanism; field in class:SunPKCS11.P11Service 910 String className, String[] al, long mechanism) { 913 this.mechanism 909 P11Service(Token token, String type, String algorithm, String className, String[] al, long mechanism) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/ |
H A D | CK_MECHANISM.java | 54 * class CK_MECHANISM specifies a particular mechanism and any parameters it 59 * CK_MECHANISM_TYPE mechanism; 73 * CK_MECHANISM_TYPE mechanism; 76 public long mechanism; field in class:CK_MECHANISM 91 public CK_MECHANISM(long mechanism) { argument 92 this.mechanism = mechanism; 99 public CK_MECHANISM(long mechanism, byte[] pParameter) { argument 100 init(mechanism, pParameter); 103 public CK_MECHANISM(long mechanism, BigIntege argument 107 CK_MECHANISM(long mechanism, CK_VERSION version) argument 111 CK_MECHANISM(long mechanism, CK_SSL3_MASTER_KEY_DERIVE_PARAMS params) argument 115 CK_MECHANISM(long mechanism, CK_SSL3_KEY_MAT_PARAMS params) argument 119 CK_MECHANISM(long mechanism, CK_TLS_PRF_PARAMS params) argument 123 CK_MECHANISM(long mechanism, CK_ECDH1_DERIVE_PARAMS params) argument 127 CK_MECHANISM(long mechanism, Long params) argument 131 CK_MECHANISM(long mechanism, CK_AES_CTR_PARAMS params) argument 135 init(long mechanism, Object pParameter) argument [all...] |
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | secoidt.h | 75 unsigned long mechanism; member in struct:SECOidDataStr
|
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/ |
H A D | TransformService.java | 49 * transform or canonicalization algorithm and XML mechanism type. To create a 52 * XML mechanism type desired, for example: 59 * using the {@link java.security.Provider} mechanism. Each 62 * mechanism type that it supports. If the attribute is not specified, 64 * XPath Filter 2 Transform and DOM mechanism would be specified in the 72 * mechanism type must abide by the DOM interoperability requirements defined 78 * mechanism types. 114 private String mechanism; field in class:TransformService 124 * algorithm URI (ex: {@link Transform#XPATH2}) and mechanism type 127 * <p>This method uses the standard JCA provider lookup mechanism t 281 private final String mechanism; field in class:TransformService.MechanismMapEntry 284 MechanismMapEntry(String algorithm, String mechanism) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | ExemptionMechanism.java | 41 * This class provides the functionality of an exemption mechanism, examples 45 * <p>Applications or applets that use an exemption mechanism may be granted 59 // The name of the exemption mechanism. 60 private String mechanism; field in class:ExemptionMechanism 77 * @param mechanism the exemption mechanism 81 String mechanism) { 84 this.mechanism = mechanism; 88 * Returns the exemption mechanism nam 79 ExemptionMechanism(ExemptionMechanismSpi exmechSpi, Provider provider, String mechanism) argument [all...] |
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/ |
H A D | pkcs11t.h | 210 * equivalent mechanism outside the scope of PKCS #11. 574 /* CK_MECHANISM_TYPE is a value that identifies a mechanism 580 /* the following mechanism types are defined: */ 897 * mechanism */ 899 CK_MECHANISM_TYPE mechanism; member in struct:CK_MECHANISM 911 * mechanism */ 926 * a mechanism can be used for a particular task */ 942 * describe a token's EC capabilities not available in mechanism 1195 * CKM_RSA_PKCS_OAEP mechanism. */ 1208 * CKM_RSA_PKCS_PSS mechanism( [all...] |