src/share/classes/java/security/CodeSigner.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 61,76 **** /** * Constructs a CodeSigner object. * * @param signerCertPath The signer's certificate path. ! * It must not be <code>null</code>. * @param timestamp A signature timestamp. ! * If <code>null</code> then no timestamp was generated * for the signature. ! * @throws NullPointerException if <code>signerCertPath</code> is ! * <code>null</code>. */ public CodeSigner(CertPath signerCertPath, Timestamp timestamp) { if (signerCertPath == null) { throw new NullPointerException(); } --- 61,76 ---- /** * Constructs a CodeSigner object. * * @param signerCertPath The signer's certificate path. ! * It must not be {@code null}. * @param timestamp A signature timestamp. ! * If {@code null} then no timestamp was generated * for the signature. ! * @throws NullPointerException if {@code signerCertPath} is ! * {@code null}. */ public CodeSigner(CertPath signerCertPath, Timestamp timestamp) { if (signerCertPath == null) { throw new NullPointerException(); }
*** 88,98 **** } /** * Returns the signature timestamp. * ! * @return The timestamp or <code>null</code> if none is present. */ public Timestamp getTimestamp() { return timestamp; } --- 88,98 ---- } /** * Returns the signature timestamp. * ! * @return The timestamp or {@code null} if none is present. */ public Timestamp getTimestamp() { return timestamp; }