Skip to content
sneppets

sneppets

  • Privacy
Create JWT Token and Sign with RSA Private Key

Create JWT Token and Sign with RSA Private Key

September 7, 2020September 7, 2020 Editorial Staff1 Comment on Create JWT Token and Sign with RSA Private Key

This tutorial guides you on how to create JWT token and sign with RSA private key. JWT (JSON Web Token) is an encoded representation of a JSON object. JWTs are used in authentication/ authorization mechanisms.

Java, util encryption, java, jwt, jwt-token, rsa, signing
Generate public key and private key with OpenSSL in Windows 10

Read RSA Private Key Java: algid parse error, not a sequence

September 5, 2020 Editorial StaffLeave a Comment on Read RSA Private Key Java: algid parse error, not a sequence

This tutorial guides you on how to resolve Error InvalidKeySpecException : algid parse error, not a sequence while reading pem to get RSA private key in Java.

Java, util encryption, java, openssl, private-key, rsa
Generate public key and private key with OpenSSL in Windows 10

How to read .pem file to get public and private keys ?

September 4, 2020September 7, 2020 Editorial StaffLeave a Comment on How to read .pem file to get public and private keys ?

This tutorial will guide you on how to read .pem file to get public and private keys. Let’s see how to generate .pem key files using openssl commands and how to write java code to read .pem file and get… Read More!

Java, util java, key, openssl, pem, pkcs#1, pkcs#8
sneppets-java8

How to clone or copy the class objects in Java ?

August 6, 2020 Editorial StaffLeave a Comment on How to clone or copy the class objects in Java ?

This tutorial guides you on how to clone or copy the class objects in Java. The process of creating an exact copy of an existing class object is called cloning. In cloning, when you clone an object, a bit wise… Read More!

Java class-object, clone, cloning, java, Object
sneppets-java8

When to use java.lang.Class, forName() and newInstance() difference?

August 6, 2020August 6, 2020 Editorial StaffLeave a Comment on When to use java.lang.Class, forName() and newInstance() difference?

This tutorial guides you on how to use java.lang.Class, forName() and newInstance() methods with examples. 

Java class, java

Posts navigation

Older posts
Newer posts
Copyright © 2018 Sneppets. All Rights Reserved