You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oltu.apache.org by as...@apache.org on 2016/02/22 10:42:56 UTC
svn commit: r1731607 - in
/oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption: ./
DecryptingKey.java EncryptingKey.java SymmetricKey.java package-info.java
Author: asanso
Date: Mon Feb 22 09:42:56 2016
New Revision: 1731607
URL: http://svn.apache.org/viewvc?rev=1731607&view=rev
Log:
OLTU-80 - Implement JWE support for JWT
Added:
oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/
oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/DecryptingKey.java
oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/EncryptingKey.java
oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/SymmetricKey.java
oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/package-info.java
Added: oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/DecryptingKey.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/DecryptingKey.java?rev=1731607&view=auto
==============================================================================
--- oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/DecryptingKey.java (added)
+++ oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/DecryptingKey.java Mon Feb 22 09:42:56 2016
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oltu.jose.jwe.encryption;
+
+/**
+ * A key that marks has to be used for <i>encrypt</i> operations.
+ */
+public interface DecryptingKey {
+
+}
\ No newline at end of file
Added: oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/EncryptingKey.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/EncryptingKey.java?rev=1731607&view=auto
==============================================================================
--- oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/EncryptingKey.java (added)
+++ oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/EncryptingKey.java Mon Feb 22 09:42:56 2016
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oltu.jose.jwe.encryption;
+
+/**
+ * A key that marks has to be used for <i>encrypt</i> operations.
+ */
+public interface EncryptingKey {
+
+}
\ No newline at end of file
Added: oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/SymmetricKey.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/SymmetricKey.java?rev=1731607&view=auto
==============================================================================
--- oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/SymmetricKey.java (added)
+++ oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/SymmetricKey.java Mon Feb 22 09:42:56 2016
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.oltu.jose.jwe.encryption;
+
+/**
+ * A key that marks can be used for both <i>sign</i> and <i>verify</i>
+ * operations.
+ */
+public interface SymmetricKey extends EncryptingKey, DecryptingKey {
+
+}
\ No newline at end of file
Added: oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/package-info.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/package-info.java?rev=1731607&view=auto
==============================================================================
--- oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/package-info.java (added)
+++ oltu/trunk/jose/jwe/src/main/java/org/apache/oltu/jose/jwe/encryption/package-info.java Mon Feb 22 09:42:56 2016
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ *
+ */
+package org.apache.oltu.jose.jwe.encryption;