Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTrustedCa (0.39 sec)

  1. istioctl/pkg/util/configdump/secret.go

    		return "", fmt.Errorf("failed to unmarshall ROOTCA secret: %v", err)
    	}
    	var returnStr string
    	var returnErr error
    	rCASecret := secret.GetValidationContext()
    	if rCASecret != nil {
    		trustCA := rCASecret.GetTrustedCa()
    		if trustCA != nil {
    			inlineBytes := trustCA.GetInlineBytes()
    			if inlineBytes != nil {
    				returnStr = base64.StdEncoding.EncodeToString(inlineBytes)
    				returnErr = nil
    			} else {
    				returnStr = ""
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 25 04:09:53 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/util.go

    		return SecretItem{}, err
    	}
    
    	certChainSecret := secretTyped.
    		GetTlsCertificate().
    		GetCertificateChain().
    		GetInlineBytes()
    	caDataSecret := secretTyped.
    		GetValidationContext().
    		GetTrustedCa().
    		GetInlineBytes()
    
    	// seems as though the most straightforward way to tell whether this is a root ca or not
    	// is to check whether the inline bytes of the cert chain or the trusted ca field is zero length
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top