Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEngine.java12
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEvent.java6
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationListener.java4
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationStatus.java4
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateChain.java4
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateTrustAuthority.java6
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifier.java16
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifierFactory.java2
8 files changed, 27 insertions, 27 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEngine.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEngine.java
index 0d148788a..b57c39297 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEngine.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEngine.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -38,9 +38,9 @@ public abstract class AuthorizationEngine {
}
/**
- * Authorizes a <code>SignedContent</code> object. The engine determines if the
- * signed content authorization should be granted. The context is the entity
- * associated with the signed content. For example, signed content
+ * Authorizes a <code>SignedContent</code> object. The engine determines if the
+ * signed content authorization should be granted. The context is the entity
+ * associated with the signed content. For example, signed content
* for a bundle will have a <code>Bundle</code> object as the context.
* @param content the signed content. The value may be <code>null</code>.
* @param context the context associated with the signed content. The value may be <code>null</code>.
@@ -65,7 +65,7 @@ public abstract class AuthorizationEngine {
}
/**
- * Authorizes a <code>SignedContent</code> object. The engine determines if the
+ * Authorizes a <code>SignedContent</code> object. The engine determines if the
* signed content authorization should be granted.
* @param content
* @param context the context associated with the signed content
@@ -76,7 +76,7 @@ public abstract class AuthorizationEngine {
/**
* Return the current status of the Authorization system.
- *
+ *
* @return A value of {@link AuthorizationStatus#OK} or {@link AuthorizationStatus#ERROR}
* @see AuthorizationStatus#OK
* @see AuthorizationStatus#ERROR
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEvent.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEvent.java
index 41c314799..3798cb6b8 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEvent.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationEvent.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -17,7 +17,7 @@ import org.eclipse.osgi.signedcontent.SignedContent;
/**
* An event that is fired when an AuthorizationEngine implementation makes
- * a decision.
+ * a decision.
* @since 3.4
*/
public class AuthorizationEvent {
@@ -39,7 +39,7 @@ public class AuthorizationEvent {
/**
* Create a new AuthorizationEvent
- * @param result - the result code
+ * @param result - the result code
* @param content - the signed content
* @param context - operation specific context
* @param severity - severity code
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationListener.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationListener.java
index 516087eab..4284fff24 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationListener.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationListener.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -16,7 +16,7 @@ package org.eclipse.osgi.internal.provisional.service.security;
import java.util.EventListener;
/**
- * A Listener interface for an authorization handler. Implementors
+ * A Listener interface for an authorization handler. Implementors
* should register as an OSGI service.
* @since 3.4
*/
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationStatus.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationStatus.java
index 1a6493d90..b06088847 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationStatus.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/service/security/AuthorizationStatus.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -18,7 +18,7 @@ package org.eclipse.osgi.internal.provisional.service.security;
* <p>
* This class is not intended to be extended by clients.
* </p>
- *
+ *
* @since 3.4
*/
public class AuthorizationStatus {
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateChain.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateChain.java
index 14d98825a..f4a9d562e 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateChain.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateChain.java
@@ -28,7 +28,7 @@ import java.util.Date;
public interface CertificateChain {
/**
* Returns the list of X500 distinguished names that make up the certificate chain. Each
- * distinguished name is separated by a ';'. The first distinguished name is the signer
+ * distinguished name is separated by a ';'. The first distinguished name is the signer
* and the last is the root Certificate Authority.
* @return the list of X500 distinguished names that make up the certificate chain
*/
@@ -60,7 +60,7 @@ public interface CertificateChain {
/**
* Return the signing time for this signer.
- *
+ *
* @return null if there is a signing time for this signer null otherwise
*/
public Date getSigningTime();
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateTrustAuthority.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateTrustAuthority.java
index 324d1ce57..ec126b747 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateTrustAuthority.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateTrustAuthority.java
@@ -19,12 +19,12 @@ import java.security.cert.CertificateException;
/**
* A CertificateTrustAuthority is used to check if certificate chains are trusted.
- *
+ *
*/
public interface CertificateTrustAuthority {
/**
- * Determines if the certificates are trusted. This method will throw a
+ * Determines if the certificates are trusted. This method will throw a
* <code>CertificateException</code> if the specified certificate chain is not trusted.
* @param certChain a chain of certificates
* @throws CertificateException if the certficates are not trusted
@@ -33,7 +33,7 @@ public interface CertificateTrustAuthority {
/**
* Add the specified certificate chain as a trusted certificate chain.
- *
+ *
* @param certChain a chain of certificates
*/
public void addTrusted(Certificate[] certChain) throws CertificateException;
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifier.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifier.java
index 96fbf3907..b8170bce2 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifier.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifier.java
@@ -17,8 +17,8 @@ import java.security.SignatureException;
import java.security.cert.*;
/**
- * A certificate verifier is used to verify the authenticity of a signed
- * repository. A certificate verifier is created using a
+ * A certificate verifier is used to verify the authenticity of a signed
+ * repository. A certificate verifier is created using a
* {@link CertificateVerifierFactory}.
* <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as
@@ -30,8 +30,8 @@ import java.security.cert.*;
public interface CertificateVerifier {
/**
* Verify the content of the repository.
- *
- * @throws CertificateException
+ *
+ * @throws CertificateException
* @throws CertificateExpiredException
* @throws CertificateParsingException
* @throws SignatureException
@@ -39,10 +39,10 @@ public interface CertificateVerifier {
public void checkContent() throws CertificateException, CertificateExpiredException, SignatureException;
/**
- * Verifies the content of the repository. An array is returned with the entry names
+ * Verifies the content of the repository. An array is returned with the entry names
* which are corrupt. If no entries are corrupt then an empty array is returned.
- * @return An array of entry names which are corrupt. An empty array is returned if the
- * repository is not corrupt or if the repository is not signed.
+ * @return An array of entry names which are corrupt. An empty array is returned if the
+ * repository is not corrupt or if the repository is not signed.
*/
public String[] verifyContent();
@@ -54,7 +54,7 @@ public interface CertificateVerifier {
/**
* Returns all certificate chains of the repository. All certificate chains
- * are returned whether they are trusted or not. If the repository is not signed
+ * are returned whether they are trusted or not. If the repository is not signed
* then an empty array is returned.
* @return all certificate chains of the repository
*/
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifierFactory.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifierFactory.java
index 25c91cb4c..c03e47093 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifierFactory.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/provisional/verifier/CertificateVerifierFactory.java
@@ -37,7 +37,7 @@ public interface CertificateVerifierFactory {
/**
* Returns a certificate verifier for the specified bundle.
- * @param bundle the bundle to get a verifier for
+ * @param bundle the bundle to get a verifier for
* @return a certificate verifier for the specified bundle.
* @throws IOException if an IO exception occurs while reading the bundle content
*/

Back to the top