mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8284851: Update javax.crypto files to use proper javadoc for mentioned classes
Reviewed-by: weijun, valeriep
This commit is contained in:
parent
8cdead0c94
commit
f804f2ce8e
92 changed files with 2142 additions and 2010 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, 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
|
||||
|
@ -60,7 +60,7 @@ public abstract class Signer extends Identity {
|
|||
private PrivateKey privateKey;
|
||||
|
||||
/**
|
||||
* Creates a signer. This constructor should only be used for
|
||||
* Creates a {@code Signer}. This constructor should only be used for
|
||||
* serialization.
|
||||
*/
|
||||
protected Signer() {
|
||||
|
@ -69,7 +69,7 @@ public abstract class Signer extends Identity {
|
|||
|
||||
|
||||
/**
|
||||
* Creates a signer with the specified identity name.
|
||||
* Creates a {@code Signer} with the specified identity name.
|
||||
*
|
||||
* @param name the identity name.
|
||||
*/
|
||||
|
@ -78,7 +78,7 @@ public abstract class Signer extends Identity {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a signer with the specified identity name and scope.
|
||||
* Creates a {@code Signer} with the specified identity name and scope.
|
||||
*
|
||||
* @param name the identity name.
|
||||
*
|
||||
|
@ -99,7 +99,7 @@ public abstract class Signer extends Identity {
|
|||
* method is called with {@code "getSignerPrivateKey"}
|
||||
* as its argument to see if it's ok to return the private key.
|
||||
*
|
||||
* @return this signer's private key, or null if the private key has
|
||||
* @return this signer's private key, or {@code null} if the private key has
|
||||
* not yet been set.
|
||||
*
|
||||
* @throws SecurityException if a security manager exists and its
|
||||
|
@ -114,7 +114,7 @@ public abstract class Signer extends Identity {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sets the key pair (public key and private key) for this signer.
|
||||
* Sets the key pair (public key and private key) for this {@code Signer}.
|
||||
*
|
||||
* <p>First, if there is a security manager, its {@code checkSecurityAccess}
|
||||
* method is called with {@code "setSignerKeyPair"}
|
||||
|
@ -168,9 +168,9 @@ public abstract class Signer extends Identity {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a string of information about the signer.
|
||||
* Returns a string of information about the {@code Signer}.
|
||||
*
|
||||
* @return a string of information about the signer.
|
||||
* @return a string of information about the {@code Signer}.
|
||||
*/
|
||||
public String toString() {
|
||||
return "[Signer]" + super.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue