Uses of Class
cloud.opencode.base.crypto.OpenSign
Packages that use OpenSign
-
Uses of OpenSign in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return OpenSignModifier and TypeMethodDescriptionstatic OpenSignOpenCrypto.ecdsaP256()ECDSA P-256 signer ECDSA P-256 签名static OpenSignOpenSign.ecdsaP256()Create ECDSA P-256 signer 创建 ECDSA P-256 签名器static OpenSignOpenCrypto.ecdsaP384()ECDSA P-384 signer ECDSA P-384 签名static OpenSignOpenSign.ecdsaP384()Create ECDSA P-384 signer 创建 ECDSA P-384 签名器static OpenSignOpenSign.ecdsaP521()Create ECDSA P-521 signer 创建 ECDSA P-521 签名器static OpenSignOpenCrypto.ed25519()Ed25519 signer (recommended) Ed25519 签名(推荐)static OpenSignOpenSign.ed25519()Create Ed25519 signer (recommended) 创建 Ed25519 签名器(推荐)static OpenSignOpenCrypto.ed448()Ed448 signer Ed448 签名static OpenSignOpenSign.ed448()Create Ed448 signer 创建 Ed448 签名器static OpenSignOpenSign.of(SignatureAlgorithm algorithm) Create signer by algorithm enum 根据算法枚举创建签名器static OpenSignOpenCrypto.rsaPss()RSA-PSS-SHA256 signer RSA-PSS-SHA256 签名static OpenSignOpenSign.rsaPss()Create RSA-PSS signer 创建 RSA-PSS 签名器static OpenSignOpenSign.rsaPssSha384()Create RSA-PSS-SHA384 signer 创建 RSA-PSS-SHA384 签名器static OpenSignOpenSign.rsaPssSha512()Create RSA-PSS-SHA512 signer 创建 RSA-PSS-SHA512 签名器OpenSign.setKeyPair(KeyPair keyPair) Set key pair for signing and verification 设置签名和验签的密钥对OpenSign.setPrivateKey(PrivateKey privateKey) Set private key for signing 设置签名私钥OpenSign.setPublicKey(PublicKey publicKey) Set public key for verification 设置验签公钥static OpenSignOpenCrypto.sha256WithRsa()RSA-SHA256 signer RSA-SHA256 签名static OpenSignOpenSign.sha256WithRsa()Create RSA-SHA256 signer 创建 RSA-SHA256 签名器static OpenSignOpenSign.sha384WithRsa()Create RSA-SHA384 signer 创建 RSA-SHA384 签名器static OpenSignOpenSign.sha512WithRsa()Create RSA-SHA512 signer 创建 RSA-SHA512 签名器static OpenSignOpenCrypto.signer(SignatureAlgorithm algorithm) Custom signer 自定义签名器static OpenSignOpenSign.sm2()Create SM2 signer (requires Bouncy Castle) 创建 SM2 签名器(需要 Bouncy Castle)static OpenSignOpenCrypto.sm2Sign()SM2 signer (requires Bouncy Castle) SM2 签名(需要 Bouncy Castle)OpenSign.withGeneratedKeyPair()Generate key pair and set it 生成密钥对并设置