Lines Matching defs:spec
29 import java.security.spec.AlgorithmParameterSpec;
32 import javax.crypto.spec.*;
35 import sun.security.internal.spec.*;
50 private TlsKeyMaterialParameterSpec spec;
66 this.spec = (TlsKeyMaterialParameterSpec)params;
67 if ("RAW".equals(spec.getMasterSecret().getFormat()) == false) {
71 protocolVersion = (spec.getMajorVersion() << 8)
72 | spec.getMinorVersion();
84 if (spec == null) {
96 byte[] masterSecret = spec.getMasterSecret().getEncoded();
98 byte[] clientRandom = spec.getClientRandom();
99 byte[] serverRandom = spec.getServerRandom();
108 int macLength = spec.getMacKeyLength();
109 int expandedKeyLength = spec.getExpandedCipherKeyLength();
111 int keyLength = spec.getCipherKeyLength();
112 int ivLength = spec.getIvLength();
128 keyBlockLen, spec.getPRFHashAlg(),
129 spec.getPRFHashLength(), spec.getPRFBlockSize());
184 String alg = spec.getCipherAlgorithm();