0N/A * reserved comment block 0N/A * DO NOT REMOVE OR ALTER! 0N/A * Copyright 1999-2004 The Apache Software Foundation. 0N/A * Licensed under the Apache License, Version 2.0 (the "License"); 0N/A * you may not use this file except in compliance with the License. 0N/A * You may obtain a copy of the License at 0N/A * Unless required by applicable law or agreed to in writing, software 0N/A * distributed under the License is distributed on an "AS IS" BASIS, 0N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0N/A * See the License for the specific language governing permissions and 0N/A * limitations under the License. 0N/A * Handles SubjectKeyIdentifier (SKI) for X.509v3. 661N/A * @author $Author: mullan $ 661N/A /** {@link java.util.logging} logging facility */ 661N/A * <CODE>SubjectKeyIdentifier (id-ce-subjectKeyIdentifier) (2.5.29.14)</CODE>: 661N/A * This extension identifies the public key being certified. It enables 661N/A * distinct keys used by the same subject to be differentiated 661N/A * (e.g., as key updating occurs). 661N/A * A key identifer shall be unique with respect to all key identifiers 661N/A * for the subject with which it is used. This extension is always non-critical. 661N/A * Constructor XMLX509SKI 661N/A * @param x509certificate 661N/A * @throws XMLSecurityException 661N/A * Constructor XMLX509SKI 661N/A * @throws XMLSecurityException 661N/A * @throws XMLSecurityException 661N/A * Method getSKIBytesFromCert 661N/A * @return ski bytes from the given certificate 661N/A * @throws XMLSecurityException 661N/A * @see java.security.cert.X509Extension#getExtensionValue(java.lang.String) 661N/A * Gets the DER-encoded OCTET string for the extension value 661N/A * (extnValue) identified by the passed-in oid String. The oid 661N/A * string is represented by a set of positive whole numbers 661N/A * separated by periods. 661N/A * Strip away first four bytes from the extensionValue 661N/A * The first two bytes are the tag and length of the extensionValue 661N/A * OCTET STRING, and the next two bytes are the tag and length of 661N/A * the skid OCTET STRING.