Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for UnknownSignatureAlgorithm (0.45 sec)

  1. internal/config/certsinfo.go

    // way of printing certificates (not identical).
    func CertificateText(cert *x509.Certificate) string {
    	var buf strings.Builder
    
    	buf.WriteString(color.Blue("\nCertificate:\n"))
    	if cert.SignatureAlgorithm != x509.UnknownSignatureAlgorithm {
    		buf.WriteString(color.Blue("%4sSignature Algorithm: ", "") + color.Bold(fmt.Sprintf("%s\n", cert.SignatureAlgorithm)))
    	}
    
    	// Issuer information
    	buf.WriteString(color.Blue("%4sIssuer: ", ""))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  2. src/crypto/x509/x509.go

    		if len(ai.Parameters.FullBytes) != 0 {
    			return UnknownSignatureAlgorithm
    		}
    	}
    
    	if !ai.Algorithm.Equal(oidSignatureRSAPSS) {
    		for _, details := range signatureAlgorithmDetails {
    			if ai.Algorithm.Equal(details.oid) {
    				return details.algo
    			}
    		}
    		return UnknownSignatureAlgorithm
    	}
    
    	// RSA PSS is special because it encodes important parameters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    	block, _ := pem.Decode([]byte(certISOOID))
    	if cert, err := ParseCertificate(block.Bytes); err != nil {
    		t.Errorf("certificate with ISO OID failed to parse: %s", err)
    	} else if cert.SignatureAlgorithm == UnknownSignatureAlgorithm {
    		t.Errorf("ISO OID not recognised in certificate")
    	}
    }
    
    // certMultipleRDN contains a RelativeDistinguishedName with two elements (the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"UnhandledCriticalExtension", Type, 0},
    		{"UnknownAuthorityError", Type, 0},
    		{"UnknownAuthorityError.Cert", Field, 8},
    		{"UnknownPublicKeyAlgorithm", Const, 0},
    		{"UnknownSignatureAlgorithm", Const, 0},
    		{"VerifyOptions", Type, 0},
    		{"VerifyOptions.CurrentTime", Field, 0},
    		{"VerifyOptions.DNSName", Field, 0},
    		{"VerifyOptions.Intermediates", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg crypto/x509, const SHA512WithRSA SignatureAlgorithm
    pkg crypto/x509, const TooManyIntermediates InvalidReason
    pkg crypto/x509, const UnknownPublicKeyAlgorithm PublicKeyAlgorithm
    pkg crypto/x509, const UnknownSignatureAlgorithm SignatureAlgorithm
    pkg crypto/x509, func CreateCertificate(io.Reader, *Certificate, *Certificate, interface{}, interface{}) ([]uint8, error)
    pkg crypto/x509, func MarshalPKCS1PrivateKey(*rsa.PrivateKey) []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg crypto/x509, const SHA384WithRSA = 5
    pkg crypto/x509, const SHA512WithRSA = 6
    pkg crypto/x509, const TooManyIntermediates = 3
    pkg crypto/x509, const UnknownPublicKeyAlgorithm = 0
    pkg crypto/x509, const UnknownSignatureAlgorithm = 0
    pkg crypto/x509, func DecryptPEMBlock(*pem.Block, []uint8) ([]uint8, error)
    pkg crypto/x509, func EncryptPEMBlock(io.Reader, string, []uint8, []uint8, PEMCipher) (*pem.Block, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top