18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied. See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 */
23 package com.sun.org.apache.xml.internal.security.keys.content.x509;
24
25 import java.security.cert.X509Certificate;
26 import java.util.Arrays;
27
28 import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
29 import com.sun.org.apache.xml.internal.security.utils.Base64;
30 import com.sun.org.apache.xml.internal.security.utils.Constants;
31 import com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy;
32 import org.w3c.dom.Document;
33 import org.w3c.dom.Element;
34
35 /**
36 * Handles SubjectKeyIdentifier (SKI) for X.509v3.
37 *
38 * @see <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/security/cert/X509Extension.html">
39 * Interface X509Extension</A>
40 */
41 public class XMLX509SKI extends SignatureElementProxy implements XMLX509DataContent {
42
43 /** {@link org.apache.commons.logging} logging facility */
44 private static java.util.logging.Logger log =
45 java.util.logging.Logger.getLogger(XMLX509SKI.class.getName());
46
47 /**
48 * <CODE>SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14)</CODE>:
49 * This extension identifies the public key being certified. It enables
50 * distinct keys used by the same subject to be differentiated
51 * (e.g., as key updating occurs).
52 * <BR />
53 * A key identifier shall be unique with respect to all key identifiers
54 * for the subject with which it is used. This extension is always non-critical.
55 */
56 public static final String SKI_OID = "2.5.29.14";
57
58 /**
|
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied. See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 */
23 package com.sun.org.apache.xml.internal.security.keys.content.x509;
24
25 import java.security.cert.X509Certificate;
26 import java.util.Arrays;
27
28 import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
29 import com.sun.org.apache.xml.internal.security.utils.Base64;
30 import com.sun.org.apache.xml.internal.security.utils.Constants;
31 import com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy;
32 import org.w3c.dom.Document;
33 import org.w3c.dom.Element;
34
35 /**
36 * Handles SubjectKeyIdentifier (SKI) for X.509v3.
37 *
38 * @see <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Extension.html">
39 * Interface X509Extension</A>
40 */
41 public class XMLX509SKI extends SignatureElementProxy implements XMLX509DataContent {
42
43 /** {@link org.apache.commons.logging} logging facility */
44 private static java.util.logging.Logger log =
45 java.util.logging.Logger.getLogger(XMLX509SKI.class.getName());
46
47 /**
48 * <CODE>SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14)</CODE>:
49 * This extension identifies the public key being certified. It enables
50 * distinct keys used by the same subject to be differentiated
51 * (e.g., as key updating occurs).
52 * <BR />
53 * A key identifier shall be unique with respect to all key identifiers
54 * for the subject with which it is used. This extension is always non-critical.
55 */
56 public static final String SKI_OID = "2.5.29.14";
57
58 /**
|