func NewDefaultLeafRequestWithSigner(subject pkix.Name, signer crypto.Signer,
	requestSigner CertificateRequestSigner,
	maker LeafMaker) *DefaultLeafRequest {
	return &DefaultLeafRequest{
		dnsNames:      set.Strings{},
		ipAddresses:   map[string]net.IP{},
		leafMaker:     maker,
		requestSigner: requestSigner,
		signer:        signer,
		subject:       subject,
	}
}
// NewDefaultLeafRequestWithSigner create a DefaultLeafRequest object that
// implements LeafRequest. Takes a default signer to use for all certificate
// creation instead of generating a new one.
NewDefaultLeafRequestWithSigner create a DefaultLeafRequest object that
implements LeafRequest. Takes a default signer to use for all certificate
creation instead of generating a new one.
// NewDefaultLeafRequestWithSigner create a DefaultLeafRequest object that // implements LeafRequest . Takes a default signer to use for all certificate // creation instead of generating a new one .
func NewDefaultLeafRequestWithSigner(subject pkix.Name, signer crypto.Signer,
	requestSigner CertificateRequestSigner,
	maker LeafMaker) *DefaultLeafRequest {
	return &DefaultLeafRequest{
		dnsNames:      set.Strings{},
		ipAddresses:   map[string]net.IP{},
		leafMaker:     maker,
		requestSigner: requestSigner,
		signer:        signer,
		subject:       subject,
	}
}
func NewDefaultLeafRequestWithSigner ( subject pkix . Name , signer crypto . Signer , requestSigner CertificateRequestSigner , maker LeafMaker ) * DefaultLeafRequest { return & DefaultLeafRequest { dnsNames : set . Strings { } , ipAddresses : map [ string ] net . IP { } , leafMaker : maker , requestSigner : requestSigner , signer : signer , subject : subject , } }
NewDefaultLeafRequestWithSigner create a DefaultLeafRequest object that
implements LeafRequest.
NewDefaultLeafRequestWithSigner create a DefaultLeafRequest object that implements LeafRequest .