Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public interface ISafeguardA2AContext
char[] retrievePassword(char[] apiKey) throws ObjectDisposedException, SafeguardForJavaException, ArgumentException;

/**
* Sets a password using Safeguard A2A.
* Sets a password using Safeguard A2A.
*
* @param apiKey API key corresponding to the configured account.
* @param password Password to set.
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.ObjectDisposedException
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.SafeguardForJavaException
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.ArgumentException
* @param apiKey API key corresponding to the configured account.
* @param password Password to set.
* @throws ObjectDisposedException Object has already been disposed.
* @throws SafeguardForJavaException General Safeguard for Java exception.
* @throws ArgumentException Invalid argument.
*/
void SetPassword(char[] apiKey, char[] password) throws ObjectDisposedException, SafeguardForJavaException, ArgumentException;

Expand Down Expand Up @@ -70,15 +70,15 @@ public interface ISafeguardA2AContext
List<IApiKeySecret> retrieveApiKeySecret(char[] apiKey) throws ObjectDisposedException, ArgumentException, SafeguardForJavaException;

/**
* Sets an SSH private key using Safeguard A2A.
* Sets an SSH private key using Safeguard A2A.
*
* @param apiKey API key corresponding to the configured account.
* @param privateKey Private key to set.
* @param password Password associated with the private key.
* @param keyFormat Format to use when returning private key.
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.ObjectDisposedException
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.ArgumentException
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.SafeguardForJavaException
* @param apiKey API key corresponding to the configured account.
* @param privateKey Private key to set.
* @param password Password associated with the private key.
* @param keyFormat Format to use when returning private key.
* @throws ObjectDisposedException Object has already been disposed.
* @throws SafeguardForJavaException General Safeguard for Java exception.
* @throws ArgumentException Invalid argument.
*/
void SetPrivateKey(char[] apiKey, char[] privateKey, char[] password, KeyFormat keyFormat) throws ObjectDisposedException, ArgumentException, SafeguardForJavaException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ FullResponse invokeMethodFull(Method method, String relativeUrl, String body)
throws ObjectDisposedException, SafeguardForJavaException, ArgumentException;

/**
* Provides support for HTTP streaming requests
* Provides support for HTTP streaming requests
*
* @return returns ISpsStreamingRequest
* @throws com.oneidentity.safeguard.safeguardjava.exceptions.ObjectDisposedException
* @return returns ISpsStreamingRequest
* @throws ObjectDisposedException Object has already been disposed.
*/
ISpsStreamingRequest getStreamingRequest() throws ObjectDisposedException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ public StreamResponse(CloseableHttpResponse resp) {
private Long contentLength = 0L;

/**
* Get the response stream object
* Get the response stream object
*
* @return The HTTP response body content as an inputstream
* @return The HTTP response body content as an InputStream
* @throws SafeguardForJavaException General Safeguard for Java exception.
*/
public InputStream getStream() throws SafeguardForJavaException
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.oneidentity.safeguard.safeguardjava.data;

/** <summary>
/**
* Connection state of the Safeguard event listener.
*/
public enum SafeguardEventListenerState
Expand Down