test_class.file: common/src/test/java/org/keycloak/common/util/PemUtilsTest.java
test_class.identifier: PemUtilsTest
test_case.body: @Test
      public void testGenerateThumbprintSha1() throws NoSuchAlgorithmException {
          String[] test = new String[] {"abcdefg"};
          String encoded = PemUtils.generateThumbprint(test, "SHA-1");
          assertEquals(27, encoded.length());
      }
test_case.class_method_signature: PemUtilsTest.testGenerateThumbprintSha1()
test_case.full_signature: @Test public void testGenerateThumbprintSha1()
test_case.identifier: testGenerateThumbprintSha1
test_case.invocations: generateThumbprint assertEquals length
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGenerateThumbprintSha1()
focal_class.file: common/src/main/java/org/keycloak/common/util/PemUtils.java
focal_class.identifier: PemUtils
focal_class.class_method_signature: PemUtils.PemUtils()
focal_class.full_signature: private  PemUtils()
focal_class.identifier: PemUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  PemUtils()
focal_class.class_method_signature: PemUtils.decodeCertificate(String cert)
focal_class.full_signature: public static X509Certificate decodeCertificate(String cert)
focal_class.identifier: decodeCertificate
focal_class.modifiers: public static
focal_class.parameters: (String cert)
focal_class.return: X509Certificate
focal_class.signature: X509Certificate decodeCertificate(String cert)
focal_class.class_method_signature: PemUtils.decodePublicKey(String pem)
focal_class.full_signature: public static PublicKey decodePublicKey(String pem)
focal_class.identifier: decodePublicKey
focal_class.modifiers: public static
focal_class.parameters: (String pem)
focal_class.return: PublicKey
focal_class.signature: PublicKey decodePublicKey(String pem)
focal_class.class_method_signature: PemUtils.decodePrivateKey(String pem)
focal_class.full_signature: public static PrivateKey decodePrivateKey(String pem)
focal_class.identifier: decodePrivateKey
focal_class.modifiers: public static
focal_class.parameters: (String pem)
focal_class.return: PrivateKey
focal_class.signature: PrivateKey decodePrivateKey(String pem)
focal_class.class_method_signature: PemUtils.encodeKey(Key key)
focal_class.full_signature: public static String encodeKey(Key key)
focal_class.identifier: encodeKey
focal_class.modifiers: public static
focal_class.parameters: (Key key)
focal_class.return: String
focal_class.signature: String encodeKey(Key key)
focal_class.class_method_signature: PemUtils.encodeCertificate(Certificate certificate)
focal_class.full_signature: public static String encodeCertificate(Certificate certificate)
focal_class.identifier: encodeCertificate
focal_class.modifiers: public static
focal_class.parameters: (Certificate certificate)
focal_class.return: String
focal_class.signature: String encodeCertificate(Certificate certificate)
focal_class.class_method_signature: PemUtils.encode(Object obj)
focal_class.full_signature: private static String encode(Object obj)
focal_class.identifier: encode
focal_class.modifiers: private static
focal_class.parameters: (Object obj)
focal_class.return: String
focal_class.signature: String encode(Object obj)
focal_class.class_method_signature: PemUtils.pemToDer(String pem)
focal_class.full_signature: public static byte[] pemToDer(String pem)
focal_class.identifier: pemToDer
focal_class.modifiers: public static
focal_class.parameters: (String pem)
focal_class.return: byte[]
focal_class.signature: byte[] pemToDer(String pem)
focal_class.class_method_signature: PemUtils.removeBeginEnd(String pem)
focal_class.full_signature: public static String removeBeginEnd(String pem)
focal_class.identifier: removeBeginEnd
focal_class.modifiers: public static
focal_class.parameters: (String pem)
focal_class.return: String
focal_class.signature: String removeBeginEnd(String pem)
focal_class.class_method_signature: PemUtils.generateThumbprint(String[] certChain, String encoding)
focal_class.full_signature: public static String generateThumbprint(String[] certChain, String encoding)
focal_class.identifier: generateThumbprint
focal_class.modifiers: public static
focal_class.parameters: (String[] certChain, String encoding)
focal_class.return: String
focal_class.signature: String generateThumbprint(String[] certChain, String encoding)
focal_class.class_method_signature: PemUtils.generateThumbprintBytes(String[] certChain, String encoding)
focal_class.full_signature: static byte[] generateThumbprintBytes(String[] certChain, String encoding)
focal_class.identifier: generateThumbprintBytes
focal_class.modifiers: static
focal_class.parameters: (String[] certChain, String encoding)
focal_class.return: byte[]
focal_class.signature: byte[] generateThumbprintBytes(String[] certChain, String encoding)
focal_method.body: public static String generateThumbprint(String[] certChain, String encoding) throws NoSuchAlgorithmException {
          return Base64Url.encode(generateThumbprintBytes(certChain, encoding));
      }
focal_method.class_method_signature: PemUtils.generateThumbprint(String[] certChain, String encoding)
focal_method.full_signature: public static String generateThumbprint(String[] certChain, String encoding)
focal_method.identifier: generateThumbprint
focal_method.invocations: encode generateThumbprintBytes
focal_method.modifiers: public static
focal_method.parameters: (String[] certChain, String encoding)
focal_method.return: String
focal_method.signature: String generateThumbprint(String[] certChain, String encoding)