Too much data for RSA block fail. What is PKCS#7?

前端 未结 7 851
予麋鹿
予麋鹿 2020-11-30 07:11

Talking about javax.crypto.Cipher

I was trying to encrypt data using Cipher.getInstance(\"RSA/None/NoPadding\", \"BC\") but I got the excep

7条回答
  •  眼角桃花
    2020-11-30 07:39

    Scroll down a bit and you'll see it. It's not an cypher algortihm (like RSA) or a cypher mode like CBC, but a description of the way the certificate is encoded as bytes (i.e., a data structure syntax). You can find the spec for it here.

提交回复
热议问题