jdk/src/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java
changeset 3353 ddbd63234844
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
3333:111dede48a15 3353:ddbd63234844
     1 /*
     1 /*
     2  * Copyright 2005-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2005-2009 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
    49     private TlsMasterSecretParameterSpec spec;
    49     private TlsMasterSecretParameterSpec spec;
    50 
    50 
    51     private int protocolVersion;
    51     private int protocolVersion;
    52 
    52 
    53     public TlsMasterSecretGenerator() {
    53     public TlsMasterSecretGenerator() {
    54         SunJCE.ensureIntegrity(getClass());
       
    55     }
    54     }
    56 
    55 
    57     protected void engineInit(SecureRandom random) {
    56     protected void engineInit(SecureRandom random) {
    58         throw new InvalidParameterException(MSG);
    57         throw new InvalidParameterException(MSG);
    59     }
    58     }