MCPcopy Create free account

hub / github.com/0x77dev/pdf-sign / functions

Functions80 in github.com/0x77dev/pdf-sign

↓ 11 callersFunctionsplit_pdf
(data: &[u8])
crates/core/src/pdf.rs:21
↓ 9 callersFunctionparse_suffix_blocks
(data: &[u8])
crates/core/src/suffix.rs:39
↓ 8 callersFunctionencode_suffix_block
(block: &SuffixBlock)
crates/core/src/suffix.rs:100
↓ 5 callersFunctiondefault_signed_output_path
(input: &Path)
crates/cli/src/sign.rs:19
↓ 4 callersFunctionfind_subslice
(haystack: &[u8], needle: &[u8], start: usize)
crates/core/src/suffix.rs:123
↓ 4 callersFunctionload_cert
(spec: &str)
crates/gpg/src/keybox.rs:139
↓ 3 callersFunctioncompute_digest
(algorithm: DigestAlgorithm, data: &[u8])
crates/core/src/digest.rs:51
↓ 3 callersFunctionencode_sri
Encode digest as SRI string (e.g., `sha512-<base64>`).
crates/core/src/digest.rs:62
↓ 3 callersFunctionextract_pgp_signatures
(data: &[u8])
crates/gpg/src/verify.rs:199
↓ 3 callersFunctionmake_test_cert
()
crates/gpg/tests/challenge_response.rs:7
↓ 3 callersFunctionnormalize_hexish
(s: &str)
crates/gpg/src/keybox.rs:92
↓ 2 callersMethodas_str
(&self)
crates/gpg/src/verify.rs:115
↓ 2 callersFunctionextract_identity_from_bundle
Extract raw identity and issuer strings from bundle (for regex matching).
crates/sigstore/src/verify.rs:191
↓ 2 callersFunctionfind_certs_in_keybox
(certs: &[Cert], key_spec: &str)
crates/gpg/src/keybox.rs:104
↓ 2 callersFunctionfind_subslice
(haystack: &[u8], needle: &[u8], start: usize)
crates/gpg/src/verify.rs:226
↓ 2 callersFunctionload_keybox_certs
()
crates/gpg/src/keybox.rs:23
↓ 2 callersFunctionparse_sri
Parse SRI string into (algorithm, digest bytes). Accepts both padded and unpadded base64.
crates/core/src/digest.rs:74
↓ 2 callersFunctionprepare_challenge
( data: &[u8], cert: &Cert, options: &ChallengeOptions, )
crates/gpg/src/challenge.rs:51
↓ 2 callersFunctionsign_blob
(data: &[u8], options: &SignOptions)
crates/sigstore/src/sign.rs:69
↓ 2 callersFunctionvalidate_response
(challenge: &Challenge, signature: &[u8], cert: &Cert)
crates/gpg/src/challenge.rs:146
↓ 2 callersFunctionverify_blob
( data: &[u8], bundle_block: &SigstoreBundleBlock, options: &VerifyOptions, )
crates/sigstore/src/verify.rs:51
↓ 2 callersFunctionverify_signatures
( data: &[u8], signature_blocks: &[Vec<u8>], options: &VerifyOptions, )
crates/gpg/src/verify.rs:128
↓ 1 callersFunctionapply_response
Apply a signature response to complete challenge-response signing.
crates/cli/src/commands.rs:362
↓ 1 callersFunctionbuild_identity_policy
( policy: &VerifyPolicy, actual_identity: &str, actual_issuer: &str, )
crates/sigstore/src/verify.rs:135
↓ 1 callersFunctioncreate_signature
( data: &[u8], cert: &Cert, options: &SignOptions, )
crates/gpg/src/sign.rs:31
↓ 1 callersFunctionextract_bundle_info
Extract certificate identity and issuer from bundle.
crates/sigstore/src/sign.rs:159
↓ 1 callersFunctionextract_bundle_info
Extract display-friendly bundle info (for output).
crates/sigstore/src/verify.rs:268
↓ 1 callersFunctionextract_identity_from_block
Extract identity + issuer from the embedded Sigstore bundle block. This can be used to show users what values to pass as `--certificate-identity` and
crates/sigstore/src/verify.rs:41
↓ 1 callersFunctionfind_eof_offset
(data: &[u8])
crates/core/src/pdf.rs:9
↓ 1 callersFunctionformat_bytes
CLI utility functions.
crates/cli/src/util.rs:3
↓ 1 callersFunctiongnupg_home
()
crates/gpg/src/keybox.rs:9
↓ 1 callersFunctionkeybox_path
()
crates/gpg/src/keybox.rs:17
↓ 1 callersFunctionobtain_identity_token
Perform interactive OIDC authorization flow.
crates/sigstore/src/sign.rs:227
↓ 1 callersMethodoutput_len
Output length in bytes for this algorithm.
crates/core/src/digest.rs:31
↓ 1 callersFunctionprepare_challenge
Prepare a signing challenge for remote/air-gapped GPG signing.
crates/cli/src/commands.rs:249
↓ 1 callersFunctionrun
(cli: Cli)
crates/cli/src/app.rs:6
↓ 1 callersFunctionsign_gpg
( input: PathBuf, output: Option<PathBuf>, key_spec: String, embed_uid: bool, json: bool, )
crates/cli/src/sign.rs:30
↓ 1 callersFunctionsign_sigstore
( input: PathBuf, output: Option<PathBuf>, oidc_issuer: Option<String>, fulcio_url: Option<String>,
crates/cli/src/sign.rs:162
↓ 1 callersFunctionverify_pdf
( input: PathBuf, cert_spec: Vec<String>, certificate_identity: Option<String>, certificate_identity_r
crates/cli/src/commands.rs:25
Functionapply_response
( pdf_bytes: &[u8], challenge: Challenge, signature_armored: &str, )
crates/wasm/src/lib.rs:96
Functionapply_response
( challenge: &Challenge, signature_armored: &str, cert: &Cert, )
crates/gpg/src/challenge.rs:91
Functionboundary_at_rounding_threshold
()
crates/cli/src/util.rs:36
Functionchallenge_serialization
()
crates/gpg/src/challenge.rs:209
Methodcheck
(&mut self, structure: MessageStructure)
crates/gpg/src/challenge.rs:166
Methodcheck
(&mut self, structure: MessageStructure)
crates/gpg/src/verify.rs:69
Methoddefault
()
crates/sigstore/src/sign.rs:20
Functiondefault_output_path_hidden_dotfile_like_pdf
()
crates/cli/src/sign.rs:322
Functiondefault_output_path_normal
()
crates/cli/src/sign.rs:315
Functiondefault_output_path_root_has_no_filename
()
crates/cli/src/sign.rs:329
Functionerrors_when_no_eof_marker
()
crates/core/src/pdf.rs:51
Functionextract_preserves_crlf
()
crates/gpg/src/verify.rs:241
Functionextract_preserves_lf
()
crates/gpg/src/verify.rs:253
Functionfinds_eof_marker
()
crates/core/src/pdf.rs:31
Functionfinds_last_eof_when_multiple
()
crates/core/src/pdf.rs:37
Methodfrom_name
Parse algorithm from name string.
crates/core/src/digest.rs:23
Methodget_certs
(&mut self, _ids: &[openpgp::KeyHandle])
crates/gpg/src/challenge.rs:162
Methodget_certs
(&mut self, ids: &[openpgp::KeyHandle])
crates/gpg/src/verify.rs:24
Functioninit
()
crates/wasm/src/lib.rs:13
Functionmain
()
crates/cli/src/main.rs:11
Methodname
Returns the algorithm name in lowercase (for SRI strings).
crates/core/src/digest.rs:16
Functionnever_displays_1024_kb_due_to_rounding
()
crates/cli/src/util.rs:25
Functionparses_pgp_block
()
crates/core/src/suffix.rs:138
Functionprepare_challenge
( pdf_bytes: &[u8], cert_armored: &str, embed_uid: bool, )
crates/wasm/src/lib.rs:52
Functionround_trip_sigstore_block
()
crates/core/src/suffix.rs:149
Functionsha512_computes_correctly
()
crates/core/src/digest.rs:100
Functionsign_sigstore
(pdf_bytes: &[u8], identity_token: String)
crates/wasm/src/lib.rs:208
Functionsplits_correctly
()
crates/core/src/pdf.rs:43
Functionsri_accepts_unpadded
()
crates/core/src/digest.rs:123
Functionsri_round_trip
()
crates/core/src/digest.rs:113
Functiontest_challenge_serialization
()
crates/wasm/src/lib.rs:332
Functiontest_challenge_serialization
()
crates/wasm/tests/web.rs:46
Functiontest_challenge_serialization
()
crates/gpg/tests/challenge_response.rs:40
Functiontest_challenge_structure
()
crates/wasm/tests/web.rs:13
Functiontest_challenge_with_embed_uid
()
crates/gpg/tests/challenge_response.rs:29
Functiontest_prepare_challenge
()
crates/gpg/tests/challenge_response.rs:15
Functiontest_validate_response_rejects_invalid_signature
()
crates/gpg/tests/challenge_response.rs:58
Functiontest_verification_result
()
crates/wasm/tests/web.rs:29
Methodtry_from
(value: u8)
crates/core/src/digest.rs:41
Functionverify_gpg
( pdf_bytes: &[u8], cert_armored: Option<String>, )
crates/wasm/src/lib.rs:151
Functionverify_sigstore
( pdf_bytes: &[u8], identity: String, issuer: String, offline: bool, )
crates/wasm/src/lib.rs:263